ComponentPoolOnObjectReleased Method |
[This is preliminary documentation and is subject to change.]
Namespace:
Umbrace.Unity.PurePool
Assembly:
Umbrace.Unity.PurePool (in Umbrace.Unity.PurePool.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax protected override void OnObjectReleased(
Component instance,
bool destroying
)
Parameters
- instance
- Type: UnityEngineComponent
The instance of the source 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