Loris Object Pool
Utility Loris
$0.0
(no ratings)
Date |
Price |
---|---|
日期和时间 |
价钱($) |
08/29(2018) |
0.0 |
11/19(2024) |
0.0 |
Jump AssetStore
This is a simple object pooling script. It is designed to be dropped in as a component and used from there in the same way as typical Unity Instantiate/Destroy functionality, for ease of use. I have also made sure to provide summaries for all public API methods, and tooltips for all config values in the Unity inspector.
Using it is as simple as following these steps:1. Attach ObjectPool component to an object in your scene.2. Configure settings in the inspector, including the object to be pooled. 3. Have a reference to it available in your script.4. Call Instantiate/Destroy as you normally would, but use "ObjectPool.Instantiate" and "ObjectPool.Destroy" instead. All overloads provided for instantiation.
Note:I designed this for my own personal use, so I will be updating it with new functionality as I discover the need for it, as well as testing it and refining it. If you notice any functionality missing or have any issues, please let me know.