Posts: 15
Threads: 9
Joined: Jun 2022
Does the asset has gameobjects pooling system function for optimizing the performance?
I spawn the gameobjects along the spline.
Is it hard if I would like to integrate my pooling system with curvy?
Posts: 1,846
Threads: 77
Joined: Jun 2017
08-14-2023, 12:01 PM
(This post was last modified: 08-14-2023, 12:01 PM by _Aka_.)
Hi
Yes Curvy Splines uses pooling. More information here:
https://curvyeditor.com/documentation/pe...rt#pooling
You can integrate your own pooling system if you wish. This should be simple enough: find all calls to the existing pools, and replace them with your own pool.
Did this help?
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.
Posts: 15
Threads: 9
Joined: Jun 2022
Yes it helps.
Thank you so much.
Posts: 1,846
Threads: 77
Joined: Jun 2017
You are welcome
If and when you feel like it, please leave a review for the asset, that helps a lot.
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.
Posts: 15
Threads: 9
Joined: Jun 2022
Could I turn off the pooling system function?
Posts: 1,846
Threads: 77
Joined: Jun 2017
There is no On/Off switch, but you can set its parameters so that no object is created. For example by setting both min and max count to 0. Here are the list of parameters of the Component pool for example:
https://curvyeditor.com/documentation/co...ponentpool
Please consider leaving a
review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Posts: 15
Threads: 9
Joined: Jun 2022
Thank you.
If I delete the Curvy Generator, so the pool in that Curvy Generator will be deleted too.
Is that correct?
If I created the new Curvy Generator, does the pool of the new Curvy Generator continue using pool from the deleted Curvy Generator?
Posts: 1,846
Threads: 77
Joined: Jun 2017
Q1- Yes, correct
Q2 - The second generator will use its own pool. Pooled objects are set as hidden children of the pooling game object. To see them, enable the Debug Mode value in the pool's inspector
Please consider leaving a
review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.