Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script inheriting SplineController doesn't work the same as adding component?
#2
Hi,
It is because your class defines the Start and Update as empty methods, so the code from the base class is never called. You should either remove these two methods, or replace them with those:

Code:
void Start () {
    base.Start();
}

void Update () {
    base.Update();
}

Don't hesitate to ask any other question if you have one
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


Messages In This Thread
RE: Script inheriting SplineController doesn't work the same as adding component? - by _Aka_ - 04-28-2019, 12:41 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Adjust radius of generated mesh via script? Shackman 1 3 03-26-2024, 01:12 PM
Last Post: _Aka_
  Collider doesn't get created by the CreateMesh Module pako88 5 10 12-26-2023, 11:13 AM
Last Post: _Aka_
  GUILayout.TextField:s dont work with CurveySplines Mike Danielsson 6 12 09-01-2023, 03:38 PM
Last Post: _Aka_
  Adding Begining and End Mesh to Spline velikizlivuk 2 4 08-02-2023, 11:10 AM
Last Post: velikizlivuk

Forum Jump: