PoolGroup.spawn Method (Vector3, Quaternion)

Ultimate Pooling

PoolGroupspawn Method (Vector3, Quaternion)
Spawn an instance from the pool using the specified position and rotation.

Namespace: UltimatePooling
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public Object spawn(
	Vector3 position,
	Quaternion rotation
)
function spawn(position, rotation);

Parameters

position
Type: Vector3
The position in 3D space to place the spawned object
rotation
Type: Quaternion
The initial rotation to give the spawned object

Return Value

Type: Object
An instance of a pooled object
See Also