04-25-2018, 03:34 AM
Hi. I'm using (maybe incorrectly) SetActive on a game object that contains a CurvySpline (child of a child) and a CurvyLineRenderer (child). The idea is to quickly hide the curve's line when not needed, then show it again. However after calling SetActive(false), and then SetActive(true), it takes a few frames before CurvySpline::IsInitialized is true again. Why is that?
Eventually I'm going to have some other objects placed along the line (for now I'm just going to do that manually) that will live in the same parent object, so would like to just be able to deactivate/activate the parent object.
Thanks
-M
Eventually I'm going to have some other objects placed along the line (for now I'm just going to do that manually) that will live in the same parent object, so would like to just be able to deactivate/activate the parent object.
Thanks
-M