UltimatePool.despawnAll Method (GameObject)

Ultimate Pooling

UltimatePooldespawnAll Method (GameObject)
Calls all spawned instances of the specified prefab back to their pool. This method allows you to pass a prefab such as a 'Bullet' which will subsequently cause all 'Bullet' instances to be despawned.

Namespace: UltimatePooling
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public static void despawnAll(
	GameObject prefab
)
UltimatePooling.UltimatePool.despawnAll = function(prefab);

Parameters

prefab
Type: GameObject
The prefab to despawn all instances of
See Also