A downloadable tool

Download NowName your own price

YAOP is a tool that I use in my own game development projects.

It is designed to be small, fast and as lean as you want it to be. It can dynamically shrink itself if you want it to so you can reduce the memory usage of your program.

More fixes and features will arrive in due time as and when it is required.

Installation and Usage Instructions:

1. Download the package and import it into your Unity Project.

2. Create a new YAOP Object by Right-Clicking in the Hierarchy or using the menu bar and selecting "GameObject->Yet Another Object Pooler".

3. A new object will be created with the following script added to it.

4. Attach any Game Object that you want to be pooled into the "Pooled Object" field. You can mouse over any of the following parameters to understand what each of them do.

5. To get an object from the pooler, in your script, get the YAOP component of the pooler object, and call the "GetObject" function. You can also pass in an optional boolean parameter to determine if you want to set the object to be active or not.

**IMPORTANT**
6. To relinquish the object back to the pooler, do not call "Destroy" on the Game Object, set its active to false by calling "gameObject.SetActive(false)"and the pooler will handle the remaining work.

7. A sample scene with a sample script is included as well to demonstrate the usage that I just described above.

Download

Download NowName your own price

Click download now to get access to the following files:

YAOP.unitypackage 7 kB

Leave a comment

Log in with itch.io to leave a comment.