Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
refresh generator on gameobject.setactive
#1
I'm trying to hide a curvy generator and its respective contents, change the path spline then unhide the generator to see the result.

Code:
while (!myCurvyGenerator.IsInitialized)
            {
                yield return null;
            }
            myCurvyGenerator.Refresh();

The problem I'm having is that it doesn't refresh my objects on the rasterize path, I'm looking for a way to make these follow the new path.

Is there another approach to hiding generators and their contents that allow for refresh on gameObject.SetActive(true); ?
Reply


Messages In This Thread
refresh generator on gameobject.setactive - by hawken - 12-18-2017, 03:55 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Exclamation CGResourceHandler: Missing loader for resource 'GameObject' on Device vatan 1 262 05-15-2025, 09:31 PM
Last Post: _Aka_
  How to rotate generator asteroids patndan74 6 573 05-08-2025, 10:07 PM
Last Post: _Aka_
  How to generate gameobject on the control point Yang Yi 1 359 12-10-2024, 10:14 PM
Last Post: _Aka_
  I have to refresh generator manualy :( GameDeveloperek4123 4 732 10-07-2024, 05:36 PM
Last Post: _Aka_

Forum Jump: