Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
On<Before,>Refresh events not called for Input modules
#1
I wanted to hook the OnBeforeRefresh event on an Input Shape Spline module in order to change the 'width' for a rectangle shape. The events never get called. The same event destination will get called if I add it to a Shape Extrusion, so I know I have the signature correct.

Since not of your examples use these two events, is this not a good thing to use architecturally?
Reply
#2
Hi
OnBeforeRefresh will not be triggered on Input Shape Spline, and any other module that implements the IOnRequestProcessing interaface. Those modules are:
  • Conform Path
  • Input Spline Path
  • Input Spline Shape
  • Mix Paths
  • Mix Shapes
  • Variable Mix Shapes
  • TRS Path
  • TRS Shape
  • Path Relative Translation
Maybe you could listen on the OnRefresh event of the Spline associated with the Input Spline Path module?
Did this help?
Have a nice day
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
  I have to refresh generator manualy :( GameDeveloperek4123 4 12 10-07-2024, 05:36 PM
Last Post: _Aka_
  How to modify Input GameObject's transformation properties by script. j95677 2 6 07-05-2024, 06:28 PM
Last Post: j95677
  Curvy discards Input Spline Range VoltDriver 3 5 11-28-2023, 07:14 PM
Last Post: _Aka_
  Skip Input Mesh if spline has too much bend Zilk1 3 9 09-27-2023, 09:45 PM
Last Post: _Aka_

Forum Jump: