Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GetComponent<SplineController>() doesn't work? [SOLVED]
#1
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;

Smile
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  make "GetCurrentControlPoint" in SplineController more accessable VampirasuGameStudio 2 472 04-19-2020, 02:03 PM
Last Post: _Aka_
  Facade class which inherits SplineController ATHellboy 1 370 01-30-2020, 10:13 AM
Last Post: _Aka_
  Refresh spline doesn't seem to be working dazz777 6 1,437 01-22-2020, 12:55 AM
Last Post: _Aka_
  SplineController Delta after instantiate(Bug?) Marc Mitchell 5 1,307 11-26-2019, 08:38 PM
Last Post: _Aka_

Forum Jump: