Ultimate Pooling Scripting Reference
PoolManagerdestroyPool Method |
Destroys a pool group and call of its pooled instances.
Namespace: UltimatePooling
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0

public void destroyPool( PoolGroup pool, bool keepSpawnedInstances = true )
function destroyPool(pool, keepSpawnedInstances);
Parameters
- pool
- Type: UltimatePoolingPoolGroup
The pool to destroy - keepSpawnedInstances (Optional)
- Type: SystemBoolean
When true, all spawned instances will be kept alive
