File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
MLAPI/NetworkingManagerComponents/Core Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -24,12 +24,19 @@ public static class SpawnManager
24
24
/// A list of the spawned objects
25
25
/// </summary>
26
26
public static readonly List < NetworkedObject > SpawnedObjectsList = new List < NetworkedObject > ( ) ;
27
-
27
+ /// <summary>
28
+ /// The delegate used when spawning a networked object
29
+ /// </summary>
30
+ /// <param name="position">The position to spawn the object at</param>
31
+ /// <param name="rotation">The rotation to spawn the object with</param>
32
+ /// <param name="disabled">Whether or not the object should be disabled, only true when spawning a scene delayed object</param>
28
33
public delegate NetworkedObject SpawnHandlerDelegate ( Vector3 position , Quaternion rotation , bool disabled ) ;
29
-
34
+ /// <summary>
35
+ /// The delegate used when destroying networked objects
36
+ /// </summary>
37
+ /// <param name="networkedObject">The networked object to be destroy</param>
30
38
public delegate void DestroyHandlerDelegate ( NetworkedObject networkedObject ) ;
31
39
32
-
33
40
internal static readonly Dictionary < ulong , SpawnHandlerDelegate > customSpawnHandlers = new Dictionary < ulong , SpawnHandlerDelegate > ( ) ;
34
41
internal static readonly Dictionary < ulong , DestroyHandlerDelegate > customDestroyHandlers = new Dictionary < ulong , DestroyHandlerDelegate > ( ) ;
35
42
You can’t perform that action at this time.
0 commit comments