Object Pooling 1.2.0
Simple Object Pooling system for Unity Game Objects. It instantiates a pool of prefabs and manages their lifecycle.
|
▼NMegaCrush | |
▼NObjectPool | |
▼NInterfaces | |
CIPooledDespawnHandler | Invoked by the pool immediately before an instance is DEACTIVATED and returned. Use this to stop loops, clear state, and unsubscribe events |
CIPooledSpawnHandler | Invoked by the pool immediately after an instance is ACTIVATED and handed out. Use this for SFX/VFX or any "spawn-time" setup you do not want to run during warmup |
CPoolManager | Simple pooling system for GameObjects |
CPoolObjects | Holds instances for a single prefab pool |
CPoolObjectSetting | Which prefab we want to pool and how many copies |
CReturnInstanceTimer | Automatically return an object to the Pool when the timer expires |