简体   繁体   English

阻止 Unity Mirror 发送屏幕外播放器的变换更新?

[英]Stop Unity Mirror from sending transform updates of off-screen players?

How do I stop Mirror from sending transform updates of other players that are off-screen to the client in my 2D game?如何阻止 Mirror 在我的 2D 游戏中向客户端发送屏幕外其他玩家的变换更新? I don't want the clients to know where other players are because that would allow for cheating.我不希望客户知道其他玩家在哪里,因为这会导致作弊。

For anyone else finding this question, I just found the answer to my question in the Mirror docs:对于其他发现此问题的人,我刚刚在 Mirror 文档中找到了我的问题的答案:

https://mirror-networking.gitbook.io/docs/interest-management https://mirror-networking.gitbook.io/docs/interest-management

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM