File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ public static class InnerNetObjectManager
26
26
}
27
27
28
28
/// <summary>
29
- /// Spawns a new instance of a <see cref="InnerNetObject"/> of type <typeparamref name="T"/>.
29
+ /// Spawns a new <see cref="InnerNetObject"/> locally and on the network of type <typeparamref name="T"/>.
30
30
/// </summary>
31
31
/// <typeparam name="T">The type of the <see cref="InnerNetObject"/> to spawn. Must inherit from <see cref="InnerNetObject"/>.</typeparam>
32
32
/// <param name="ownerId">The owner ID for the spawned object. Defaults to -2, which typically means no specific owner.</param>
@@ -49,11 +49,10 @@ public static class InnerNetObjectManager
49
49
/// <summary>
50
50
/// Spawns an existing <see cref="InnerNetObject"/> instance on the network.
51
51
/// </summary>
52
- /// <typeparam name="T">The type of the <see cref="InnerNetObject"/> being spawned. Must inherit from <see cref="InnerNetObject"/>.</typeparam>
53
52
/// <param name="netObj">The <see cref="InnerNetObject"/> instance to spawn.</param>
54
53
/// <param name="ownerId">The owner ID for the spawned object. Defaults to -2, which typically means no specific owner.</param>
55
54
/// <param name="spawnFlags">The spawn flags to use when spawning the object. Defaults to <see cref="SpawnFlags.None"/>.</param>
56
- public static void SpawnNetObject < T > ( this InnerNetObject netObj , int ownerId = - 2 , SpawnFlags spawnFlags = SpawnFlags . None ) where T : InnerNetObject
55
+ public static void SpawnNetObject ( this InnerNetObject netObj , int ownerId = - 2 , SpawnFlags spawnFlags = SpawnFlags . None )
57
56
{
58
57
AmongUsClient . Instance . Spawn ( netObj , ownerId , spawnFlags ) ;
59
58
}
You can’t perform that action at this time.
0 commit comments