Easy Object Pooling

$4
Publisher Alex Salemi
File size 131.78kB
Number of files 19
Latest version 1
Latest release date 2020-09-08 06:52:14
First release date 2020-09-08 06:52:14
Supported Unity versions 2018.4.2 or higher
This high performance package provides an easy way of making object pools, removing constant calls to the garbage collector.

It's very easy to use: just implement the interface and replace every call to Instantiate() and Destroy() with ObjectPooler.Require() and ObjectPooler.Release(), respectively.

Features:

     • Limited and unlimited size pools.    
     • Very easy to use.
     • Auto-release: when enabled, the pool will auto release an active gameobject if it can not fulfill gameobject demand.
     • Start size and max size parameters: pools will adapt their size run time.
     • No need to extend other classes. To make an object poolable you just need to implement an interface into the object. This way you can make poolable every monobehaviour, including the ones from other packages.
     • Use of Singleton pattern: you can access pools everywhere in your project.
     • Disabled objects do not clutter Scene Inspector: every pool has its own parent transform that will contain all inactive objects.



Tutorial on how to use it and example scene are inside the package.

Contact: Email

Top Publisher Assets