Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CurvySpline Editor event
#1
I want to know if there is any event which raised when spline changes ?

I want to use it in one of my classes which is based on spline and if the spline changes, calls the function in my class.

Also I see you subscribe to EditorApplication.update in CurvyController (I have not checked other scripts in this context). Is it optimized or necessary ?
Reply
#2
Hi,
All the spline's events are in the documentation
https://curvyeditor.com/documentation/sp...ine#events
The subscription to EditorApplication.update is there to make the controller update more frequently in editor. This is to preview correctly the behavior of the controller without entering playmode.
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Strange differences between editor and build jamesunity 1 311 07-20-2020, 08:49 PM
Last Post: _Aka_
  Gizmos not showing in the editor 2019.3.1 & 3.6 athos_k 5 1,259 06-15-2020, 01:25 PM
Last Post: _Aka_
  Lots of Allocs in Editor Update (Poor Performance in Editor) TdayMFG 4 1,561 02-06-2020, 10:13 PM
Last Post: _Aka_
  [Fixed]CurvySpline.Length can return 0 during init stage c0ffee 2 1,166 01-16-2020, 01:56 AM
Last Post: c0ffee

Forum Jump: