Click or drag to resize

PoolerCreatePool Method (Component, String)

Create a new pool for a prefab.

Namespace:  Kit.Pooling
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public static Pool CreatePool(
	Component prefab,
	string name
)
Request Example View Source

Parameters

prefab
Type: Component
Prefab to create the pool for.
name
Type: SystemString
Name of the game object for the pool.

Return Value

Type: Pool
See Also