MLAPI/docs/M_MLAPI_NetworkingManagerComponents_NetworkPoolManager_DestroyPoolObject.md
2018-03-31 10:20:18 +02:00

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