From 0e1aa1b305b5874d0b445874c54c2c61d700f42b Mon Sep 17 00:00:00 2001 From: Chris Langsenkamp Date: Mon, 13 Apr 2020 21:08:14 -0400 Subject: [PATCH] Updated Netowork Observer template --- .../53-Mirror__Network Observer-NewNetworkObserver.cs.txt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Assets/ScriptTemplates/53-Mirror__Network Observer-NewNetworkObserver.cs.txt b/Assets/ScriptTemplates/53-Mirror__Network Observer-NewNetworkObserver.cs.txt index c1b5891ed..3c8b99414 100644 --- a/Assets/ScriptTemplates/53-Mirror__Network Observer-NewNetworkObserver.cs.txt +++ b/Assets/ScriptTemplates/53-Mirror__Network Observer-NewNetworkObserver.cs.txt @@ -30,12 +30,5 @@ public class #SCRIPTNAME# : NetworkVisibility /// True if the set of observers is being built for the first time. public override void OnRebuildObservers(HashSet observers, bool initialize) { } - /// - /// Callback used by the visibility system for objects on a host. - /// Objects on a host (with a local client) cannot be disabled or destroyed when they are not visible to the local client. So this function is called to allow custom code to hide these objects. A typical implementation will disable renderer components on the object. This is only called on local clients on a host. - /// - /// New visibility state. - public override void OnSetHostVisibility(bool visible) { } - #endregion }