UltimatePool.batchDespawn Method (IEnumerable(Component))

Ultimate Pooling

UltimatePoolbatchDespawn Method (IEnumerableComponent)
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<Component> objects
)
UltimatePooling.UltimatePool.batchDespawn = function(objects);

Parameters

objects
Type: System.Collections.GenericIEnumerableComponent
An enumerable collection of components that should be despawned
See Also