Ultimate Pooling Scripting Reference
PoolManagercreatePool Method (String) |
Attempts to create a new object pool for a prefab located in the resources folder.
If a pool already exists for the specified prefab name then this method will simply return the existing pool.
Namespace: UltimatePooling
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0

public PoolGroup createPool( string prefabName )
function createPool(prefabName);
Parameters
- prefabName
- Type: SystemString
The name of the prefab in the resources folder
Return Value
Type: PoolGroupAn instance of a pool group
