Hello, I've finally updated Curvy in my project which means replacing the deprecated FollowSpline with SplineController. I'm trying to call the SplineController script in a GO from another script in that GO. But haven't figured out how to properly do it.
For now I'd be happy to just be able to Activate the script when I trigger it.
What would be the correct way of activating this script, if GetComponent<SplineController>() isn't going to work?
Hah... always the way. I found the answer minutes after asking the question...
using FluffyUnderware.Curvy.Controllers;
For now I'd be happy to just be able to Activate the script when I trigger it.
What would be the correct way of activating this script, if GetComponent<SplineController>() isn't going to work?
Hah... always the way. I found the answer minutes after asking the question...
using FluffyUnderware.Curvy.Controllers;