File tree Expand file tree Collapse file tree
MLAPI/MonoBehaviours/Core Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -88,15 +88,21 @@ internal set
8888 /// Gets if the object has yet been spawned across the network
8989 /// </summary>
9090 public bool IsSpawned { get ; internal set ; }
91-
91+ /// <summary>
92+ /// Gets if the object is a SceneObject, null if it's not yet spawned but is a scene object.
93+ /// </summary>
9294 public bool ? IsSceneObject { get ; internal set ; }
9395
94- public delegate bool ObserverDelegate ( uint clientId ) ;
96+ /// <summary>
97+ /// Delegate type for checking visibility
98+ /// </summary>
99+ /// <param name="clientId">The clientId to check visibility for</param>
100+ public delegate bool VisibilityDelegate ( uint clientId ) ;
95101
96102 /// <summary>
97103 /// Delegate invoked when the MLAPI needs to know if the object should be visible to a client, if null it will assume true
98104 /// </summary>
99- public ObserverDelegate CheckObjectVisibility = null ;
105+ public VisibilityDelegate CheckObjectVisibility = null ;
100106
101107 /// <summary>
102108 /// Whether or not to destroy this object if it's owner is destroyed.
You can’t perform that action at this time.
0 commit comments