★ wanayoo — archive 1999 https://github.com/UnityPatterns/ObjectPoolNouvelle recherche | Portail wanayoo
Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Clone in Desktop Download ZIP
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.
C#
Branch: master

Added DestroyPooled/DestroyAll

Added two additional functions, one for destroying all pooled objects
(thus removing them from the pool), and another which will do that and
additionally destroy all spawned instances of a prefab as well.
latest commit 51f97081f9
UnityPatterns authored
Failed to load latest commit information.
Assets Added DestroyPooled/DestroyAll
ProjectSettings Big update.
.gitignore Initial commit
LICENSE Added license.
ObjectPool.userprefs Big update.
README.md Initial commit

README.md

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.

Something went wrong with that request. Please try again.