Updated Netowork Observer template

This commit is contained in:
Chris Langsenkamp 2020-04-13 21:08:14 -04:00
parent 4994193668
commit 0e1aa1b305

View File

@ -30,12 +30,5 @@ public class #SCRIPTNAME# : NetworkVisibility
/// <param name="initialize">True if the set of observers is being built for the first time.</param>
public override void OnRebuildObservers(HashSet<NetworkConnection> observers, bool initialize) { }
/// <summary>
/// Callback used by the visibility system for objects on a host.
/// <para>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.</para>
/// </summary>
/// <param name="visible">New visibility state.</param>
public override void OnSetHostVisibility(bool visible) { }
#endregion
}