2.1 KiB
2.1 KiB
NetworkPoolManager Class
Main class for managing network pools
Inheritance Hierarchy
System.Object
MLAPI.NetworkingManagerComponents.NetworkPoolManager
Namespace: MLAPI.NetworkingManagerComponents
Assembly: MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static class NetworkPoolManager
The NetworkPoolManager type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() | CreatePool | Creates a networked object pool. Can only be called from the server |
![]() ![]() | DestroyPool | This destroys an object pool and all of it's objects. Can only be called from the server |
![]() ![]() | DestroyPoolObject | Destroys a NetworkedObject if it's part of a pool. Use this instead of the MonoBehaviour Destroy method. Can only be called from Server. |
![]() ![]() | SpawnPoolObject | Spawns a object from the pool at a given position and rotation. Can only be called from server. |