PoolGroup.onInstanceDespawned Method

Ultimate Pooling

PoolGrouponInstanceDespawned Method
Should be implemented by the inheriting class. Called when the object is about to be returned to the pool.

Namespace: UltimatePooling
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
protected abstract void onInstanceDespawned(
	Object instance,
	PoolEventType type
)
function onInstanceDespawned(instance, type);

Parameters

instance
Type: Object
The object that is about to be pooled
type
Type: UltimatePoolingPoolEventType
The event type that should be used to inform the object that it is about to be despawned
See Also