Huy Minh Ha

Software development, Tech and other stuff

Fri 24 February 2017

Unity Object Pooling

Posted by Ha.Minh in Unity   

An object pool provides an efficient way to reuse objects, and thus keep the memory foot print of all dynamically created objects within fixed bounds. This is crucial for maintianing consistent framerates in realtime games (especially on mobile), as frequent garbage collection spikes would likley lead to inconsistent performance.

Implementing object pool is quite straight forward. There are several open-source solutions already so don't bother looking into AssetStore.


    
 
 

Comments