NetworkPoolManagerSpawnPoolObject Method |  |
[This is preliminary documentation and is subject to change.]
Spawns a object from the pool at a given position and rotation. Can only be called from server.
Namespace:
MLAPI.Components
Assembly:
MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static NetworkedObject SpawnPoolObject(
string poolName,
Vector3 position,
Quaternion rotation
)
Request Example
View SourceParameters
- 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:
NetworkedObject
See Also