Click or drag to resize

NetworkPoolManager Class

[This is preliminary documentation and is subject to change.]

Main class for managing network pools
Inheritance Hierarchy
SystemObject
  MLAPI.NetworkingManagerComponentsNetworkPoolManager

Namespace:  MLAPI.NetworkingManagerComponents
Assembly:  MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static class NetworkPoolManager
Request Example View Source

The NetworkPoolManager type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCreatePool
Creates a networked object pool. Can only be called from the server
Public methodStatic memberDestroyPool
This destroys an object pool and all of it's objects. Can only be called from the server
Public methodStatic memberDestroyPoolObject
Destroys a NetworkedObject if it's part of a pool. Use this instead of the MonoBehaviour Destroy method. Can only be called from Server.
Public methodStatic memberSpawnPoolObject
Spawns a object from the pool at a given position and rotation. Can only be called from server.
Top
See Also