05-14-2023, 06:49 PM
As the title says, when is it required to check if the spline / generator as initialized?
I noticed in some threads and the documentation that its required to use a coroutine to check if the spline is finished initializing. What information is this for? Is it just for the very start?
Will this lead to occasional race condition errors otherwise?
I'm making a level editor that uses splines and I instantiate splines for previewing and then placing walls.
Should I wait for the spline to be instantiated before trying to add points/modify the spline at all?
I noticed in some threads and the documentation that its required to use a coroutine to check if the spline is finished initializing. What information is this for? Is it just for the very start?
Will this lead to occasional race condition errors otherwise?
I'm making a level editor that uses splines and I instantiate splines for previewing and then placing walls.
Should I wait for the spline to be instantiated before trying to add points/modify the spline at all?