UltimatePool.despawnAll Method

Ultimate Pooling

UltimatePooldespawnAll Method
Overload List
  Name Description
Public method Static member despawnAll(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.
Public method Static member despawnAll(GameObject, Single)
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.
Top
See Also