A lightweight and easy-to-use object pooling utility for Unity.
<aside> ✉️
</aside>
For inquiries or support, please contact:
<aside> 🔧
</aside>
NSJ_AutoPool is designed to simplify the object pooling process in Unity.
No need to pre-register prefabs or write custom return logic — just call Get()
and you're ready to go.
This package is lightweight, efficient, and perfect for indie developers and teams alike.
<aside> 📎
</aside>
<aside> 💡
</aside>
ObjectPool.Get()
/ Return()
Get()
method supports the same parameters as Instantiate()
MyComponent comp = Get<MyComponent>()
)ObjectPool.Get().ReturnAfter(float)
velocity
and manages WakeUp
/ Sleep
statesResourcesPool.Get("path/to/prefab")
View logs via chainable debug helpers:
Get().OnDebug("...")
,
ReturnAfter().OnDebugReturn("...")
,
Return().OnDebug("...")
Inspect current pool states in the Unity Inspector, with full search support