UltimatePool.despawn Method (Object, Single)

Ultimate Pooling

UltimatePooldespawn Method (Object, Single)
Direct overload 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,
	float time
)
UltimatePooling.UltimatePool.despawn = function(instance, time);

Parameters

instance
Type: Object
A reference to a spawned instance
time
Type: SystemSingle
The amount of time to wait before despawning the instance
See Also