Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Curvy Generator re-initializes on disable?
#1
I found that the curvy generator seems to reset and redo its initialization OnDisable / OnEnable.

This is an issue because even if I were to deactivate my spline object, I don't want the pooled instantiated prefabs to be rebuilt. Is there a way or option around this?

Edit* I also found that if the control points are less then 2, it seems to rebuild all the prefabs.

Is there a way to have all built pooled prefabs be kept initialized regardless of if the spline was enabled/disabled or the points are below 2?


Edit** I see that the CreateGameObject module deletes any pools not used. It'd be nice if this could be modified to be toggled off
Reply


Messages In This Thread
Curvy Generator re-initializes on disable? - by Lupos - 05-17-2023, 04:03 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Generator gameobjects missing offset and rotated beewhale 4 45 5 hours ago
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 7 6,976 07-13-2025, 07:11 PM
Last Post: _Aka_
  NullReferenceException when enable and disable curves with followups phaix 6 4,031 05-15-2025, 07:55 AM
Last Post: phaix
  How to rotate generator asteroids patndan74 6 4,351 05-08-2025, 10:07 PM
Last Post: _Aka_

Forum Jump: