Trigger events when the object pool moves this in or out. More...
Inherits MonoBehaviour, and IPoolee.
Public Member Functions | |
void | OnRequireFromPool () |
Called when taken out, for initializing before activated. More... | |
void | OnReleaseIntoPool () |
Called when given back, for resetting after inactivated. More... | |
Public Attributes | |
UnityEvent | onRequire = new UnityEvent() |
Called when taken out, for initializing before activated. More... | |
UnityEvent | onRelease = new UnityEvent() |
Called when given back, for resetting after inactivated. More... | |
Trigger events when the object pool moves this in or out.
void OnRequireFromPool | ( | ) |
Called when taken out, for initializing before activated.
Implements IPoolee.
void OnReleaseIntoPool | ( | ) |
Called when given back, for resetting after inactivated.
Implements IPoolee.
UnityEvent onRequire = new UnityEvent() |
Called when taken out, for initializing before activated.
UnityEvent onRelease = new UnityEvent() |
Called when given back, for resetting after inactivated.