Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Curvy Generator re-initializes on disable?
#4
(05-18-2023, 05:04 PM)_Aka_ Wrote: If you need to keep the generated objects while the generator is disabled, then you should probably use the SaveToScene method:

Isn't this a more expensive method meant to be called just once? I need to make sure that any of the assets I generate are saved when I place the spline. However If I were to move/edit the existing spline, I'd still like to update and re-generate while having all the prefabs already setup.

This is because this level editor isn't meant to save the level, its a tower defense game and the components of the spline just needs to be allowed to initialize and function.
Reply


Messages In This Thread
RE: Curvy Generator re-initializes on disable? - by Lupos - 05-19-2023, 01:19 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Curvy Line Renderer for UI Spline? gekido 7 6,237 07-13-2025, 07:11 PM
Last Post: _Aka_
  NullReferenceException when enable and disable curves with followups phaix 6 3,481 05-15-2025, 07:55 AM
Last Post: phaix
  How to rotate generator asteroids patndan74 6 3,839 05-08-2025, 10:07 PM
Last Post: _Aka_
  Disable a spline's gizmo when not selected or disabled. mikechr2000 1 1,770 02-03-2025, 09:34 AM
Last Post: _Aka_

Forum Jump: