File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
MLAPI/MonoBehaviours/Core Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -88,15 +88,21 @@ internal set
88
88
/// Gets if the object has yet been spawned across the network
89
89
/// </summary>
90
90
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>
92
94
public bool ? IsSceneObject { get ; internal set ; }
93
95
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 ) ;
95
101
96
102
/// <summary>
97
103
/// Delegate invoked when the MLAPI needs to know if the object should be visible to a client, if null it will assume true
98
104
/// </summary>
99
- public ObserverDelegate CheckObjectVisibility = null ;
105
+ public VisibilityDelegate CheckObjectVisibility = null ;
100
106
101
107
/// <summary>
102
108
/// 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