Wanzyee Studio
PooleeEventTrigger

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...
 

Detailed Description

Trigger events when the object pool moves this in or out.

Member Function Documentation

void OnRequireFromPool ( )

Called when taken out, for initializing before activated.

Implements IPoolee.

void OnReleaseIntoPool ( )

Called when given back, for resetting after inactivated.

Implements IPoolee.

Member Data Documentation

UnityEvent onRequire = new UnityEvent()

Called when taken out, for initializing before activated.

UnityEvent onRelease = new UnityEvent()

Called when given back, for resetting after inactivated.