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

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

 

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.
  Back to Top

See Also

Reference

MLAPI.NetworkingManagerComponents Namespace