Click or drag to resize

SerialisableGameObjectPoolOnObjectReleased Method

[This is preliminary documentation and is subject to change.]

Raises the ObjectReleased event.

Namespace:  Umbrace.Unity.PurePool
Assembly:  Umbrace.Unity.PurePool (in Umbrace.Unity.PurePool.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
protected override void OnObjectReleased(
	GameObject instance,
	bool destroying
)

Parameters

instance
Type: UnityEngineGameObject
The object that was released back to the pool.
destroying
Type: SystemBoolean
A value indicating whether the released object is about to be destroyed.
See Also