forked from MirageNet/Mirage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: remove local visibility hacks (MirageNet#696)
The NetworkVisibility disabled the renderers in host mode. This is just a hack and it is unnecesary. With this patch, host mode just sees all objects. If the user wants to limit how much the host player sees, they can do it just as easily by changing the far clipping plane in the camera, or by using unity's LOD component https://docs.unity3d.com/Manual/LevelOfDetail.html or implementing whatever logic they want with layers. BREAKING CHANGE: NetworkVisibility no longer disables renderers in host mode
- Loading branch information
Showing
5 changed files
with
1 addition
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters