873 B
873 B
NetworkPoolManager.DestroyPoolObject 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.NetworkedObject
The NetworkedObject instance to destroy
See Also
Reference
NetworkPoolManager Class
MLAPI.NetworkingManagerComponents Namespace