-
Firstly, thank you so much for this package! It is by far one of the best and more friendly bezier tools I've seen in Unity. I have a bezierWalker that I want to jump from one bezierPath to a different one depending on certain conditions, but when trying to change the spline it is running on, I noticed the bezierWalker.Spline value is read-only. What is the recommended way of achieving this? Having multiple walkers on the same object (one for each spline) and activating/deactivating them? Or is there a way to use a single walker and change its spline in runtime? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi! You can change the spline field (not the Spline property) to switch splines. If your variable's type is BezierWalker, then you should change it to either BezierWalkerWithSpeed or BezierWalkerWithTime because the field exists on those classes only. |
Beta Was this translation helpful? Give feedback.
Hi! You can change the spline field (not the Spline property) to switch splines. If your variable's type is BezierWalker, then you should change it to either BezierWalkerWithSpeed or BezierWalkerWithTime because the field exists on those classes only.