Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to send event to generated game object upon ControlPoint deletion?
#1
Hello Curvy folks!

I hope there's a simple solution for what I need to do:

I have a generator that creates game objects along the spline (imagine sleepers on a train track). As these objects are created, they add themselves to an array. So far so good.

However, if I delete a Control Point, I need a way to send an event to the sleepers that are being removed, so that they can remove themselves from the array before destroying themselves.

I appreciate any advice!
Reply


Messages In This Thread
How to send event to generated game object upon ControlPoint deletion? - by toxicfrog - 12-02-2021, 09:41 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Exclamation Runtime error when using Curvy Generator with Game Object Deform studentloan 3 10 04-22-2022, 09:00 PM
Last Post: _Aka_
  Can generated mesh be enabled to read/write? scr33ner 2 6 04-07-2022, 01:13 PM
Last Post: _Aka_
  Can I extract prefabs from Curvy's generated meshes? niuage 7 17 03-15-2022, 11:44 AM
Last Post: _Aka_
  Is curvyspline a good solution for a 2D rail grinding game? bazz_boyy1 2 6 03-01-2022, 11:49 AM
Last Post: _Aka_

Forum Jump: