PoolManager.createPool Method (GameObject, String)

Ultimate Pooling

PoolManagercreatePool Method (GameObject, String)
Attempt to create a new obejct pool for prefab type. If a pool already exists for the specified prefab then this method will simply return the exising pool.

Namespace: UltimatePooling
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public PoolGroup createPool(
	GameObject prefab,
	string name = ""
)
function createPool(prefab, name);

Parameters

prefab
Type: GameObject
The prefab to create the pool for
name (Optional)
Type: SystemString
The name of the pool

Return Value

Type: PoolGroup
An instance of a pool group
See Also