 | PoolerCreatePool Method (Component, String) |
Create a new pool for a prefab.
Namespace:
Kit.Pooling
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntaxpublic static Pool CreatePool(
Component prefab,
string name
)
Request Example
View SourceParameters
- 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