For more detail this asset from the Unity Asset Store: Click Here
This is a paid asset, but now you can download Pool Anything for FREE, Please keep in mind this package is provided only for learning purposes or to be able to test before buying the product, NOT FOR COMMERCIAL PURPOSES.
Pool Anything v1.0
In Unity, when you deal with amounts of objects, eg. bullets, we need to reuse thoese useless objects to optimize memory-allocs .
Then we can use the “Pool”, whick can cache those invalid objects for the using of next time.
【Pool Anthing】 can help you to create and reuse objects quickly and conveniently. It is the quick ojects pool.
★ Pool lots of gameObjects or anything else
★ Very effective to create and reuse objects
★ The code is clear and easy to read
★ Very simple to use, learn in 1 minutes.