Unity Tutorial: Using Object Pooling
Object Pooling can provide a huge improvement in performance if we are creating and destroying the same types of objects frequently (eg. projectiles). In this tutorial we’ll take a look at how to use the object pooling systems in Unity and compare the pooled vs non-pooled versions.
Find the code here: https://github.com/GameDevEducation/DevToolkit_ObjectPooling