UnityPatterns / ObjectPool

Instead of creating and destroying new objects all the time, this script reduces garbage by pooling instances, allowing you to seemingly create hundreds of new objects while only actually using a recycled few.

Repository from Github https://github.comUnityPatterns/ObjectPoolRepository from Github https://github.comUnityPatterns/ObjectPool

ObjectPool

Instead of creating and destroying new objects all the time, this script reduces garbage by pooling instances, allowing you to seemingly create hundreds of new objects while only actually using a recycled few.

About

Instead of creating and destroying new objects all the time, this script reduces garbage by pooling instances, allowing you to seemingly create hundreds of new objects while only actually using a recycled few.

License:MIT License


Languages

Language:C# 100.0%