Click or drag to resize

NetworkPoolManagerDestroyPoolObject Method

Destroys a NetworkedObject if it's part of a pool. Use this instead of the MonoBehaviour Destroy method. Can only be called from Server.

Namespace:  MLAPI.NetworkingManagerComponents
Assembly:  MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static void DestroyPoolObject(
	NetworkedObject netObject
)

Parameters

netObject
Type: MLAPI.MonoBehaviours.CoreNetworkedObject
The NetworkedObject instance to destroy
See Also