09-16-2019, 01:59 PM
Hi,
The Prefab Pool need to be documented. Sorry for that. I am leaving for the airport in 10 mins, so here is a quick explanation:
If you keep the params by default, Curvy will handles things properly: create a cube when needed, and push it back in the pool for further usage when not needed anymore. The current number of available objects in the pool is shown here:
Open the attached scene, hit play, and what that counter: when you reduce the length of the spline, the number of used objects is reduced, and they go to the prefab pool, increasing the counter.
About the parameters of the pool:
Sorry for the answer not as detailed as I would have liked.
Have a nice day
The Prefab Pool need to be documented. Sorry for that. I am leaving for the airport in 10 mins, so here is a quick explanation:
If you keep the params by default, Curvy will handles things properly: create a cube when needed, and push it back in the pool for further usage when not needed anymore. The current number of available objects in the pool is shown here:
Open the attached scene, hit play, and what that counter: when you reduce the length of the spline, the number of used objects is reduced, and they go to the prefab pool, increasing the counter.
About the parameters of the pool:
- Min Items is the minimal number of items in the prefab.
- Speed: is used to defined a rate at which the prefab creates objects. Just give it a small number if needed.
Sorry for the answer not as detailed as I would have liked.
Have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.