UltimatePool.spawn Method (Component)

Ultimate Pooling

UltimatePoolspawn Method (Component)
Spawn an instance of the specified component prefab from the appropriate pool. If no pool exists, then one is automatically created for the prefab type.

Namespace: UltimatePooling
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public static Object spawn(
	Component prefab
)
UltimatePooling.UltimatePool.spawn = function(prefab);

Parameters

prefab
Type: Component
The component prefab to spawn from

Return Value

Type: Object
An instance of the prefab supplied
See Also