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)
Syntaxpublic static void DestroyPoolObject(
NetworkedObject netObject
)
Parameters
- netObject
- Type: MLAPINetworkedObject
The NetworkedObject instance to destroy
See Also