NetworkPoolManagerSpawnPoolObject Method |
Spawns a object from the pool at a given position and rotation. 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 GameObject SpawnPoolObject(
string poolName,
Vector3 position,
Quaternion rotation
)
Parameters
- poolName
- Type: SystemString
The name of the pool - position
- Type: Vector3
The position to spawn the object at - rotation
- Type: Quaternion
The rotation to spawn the object at
Return Value
Type:
GameObject[Missing <returns> documentation for "M:MLAPI.NetworkingManagerComponents.NetworkPoolManager.SpawnPoolObject(System.String,UnityEngine.Vector3,UnityEngine.Quaternion)"]
See Also