Click or drag to resize

GameObjectPoolTSpawn Method (Vector3, Quaternion)

Spawns a recycled object if there's one available, otherwise creates a new instance.

Namespace:  Archon.SwissArmyLib.Pooling
Assembly:  Archon.SwissArmyLib (in Archon.SwissArmyLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public T Spawn(
	Vector3 position,
	Quaternion rotation
)
Request Example View Source

Parameters

position
Type: Vector3

[Missing <param name="position"/> documentation for "M:Archon.SwissArmyLib.Pooling.GameObjectPool`1.Spawn(UnityEngine.Vector3,UnityEngine.Quaternion)"]

rotation
Type: Quaternion

[Missing <param name="rotation"/> documentation for "M:Archon.SwissArmyLib.Pooling.GameObjectPool`1.Spawn(UnityEngine.Vector3,UnityEngine.Quaternion)"]

Return Value

Type: T
The spawned object.
See Also