JUtils
A unity utilities library
|
A behaviour that is used with the ObjectPool. Other behaviours can listen to the events this class sends. More...
Public Member Functions | |
void | ReturnToPool () |
Properties | |
ObjectPool | objectPool [get, set] |
bool | isActive [get] |
Events | |
Action< PoolItem > | onSpawn |
Action< PoolItem > | onDespawn |
A behaviour that is used with the ObjectPool. Other behaviours can listen to the events this class sends.
|
inline |
References JUtils.PoolItem.isActive, and JUtils.PoolItem.objectPool.
|
get |
|
getset |
Action<PoolItem> JUtils.PoolItem.onDespawn |
Action<PoolItem> JUtils.PoolItem.onSpawn |