Ultimate Pooling Scripting Reference
UltimatePoolbatchDespawn Method (IEnumerableGameObject) |
Attempts to Despawn all objects and return them to their pool group.
Important: All objects in the enumerable collection must have been spawned from the same pool group.
If you attempt to return instances from multiple pools using this method then you will invalidate all associated pool groups.
Namespace: UltimatePooling
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public static void batchDespawn( IEnumerable<GameObject> objects )
UltimatePooling.UltimatePool.batchDespawn = function(objects);
Parameters
- objects
- Type: System.Collections.GenericIEnumerableGameObject
An enumerable collection of objects that should be despawned
See Also