Ultimate Pooling Scripting Reference
UltimatePooldespawn Method (Object) |
Direct replacement for 'Object.Destroy' for pooling.
Allows the specified instance to be returned to the pool and re-used at a later time.
Namespace: UltimatePooling
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public static void despawn( Object instance )
UltimatePooling.UltimatePool.despawn = function(instance);
Parameters
- instance
- Type: Object
A reference to a spawned instance
See Also