Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Facade class which inherits SplineController
I want to have a Facade class for my character and also using SplineController for locomotion stuff.

In my CharacterController I have some function which should be called in OnEnabled, OnDisabled, Awake, Start, Update, FixedUpdate and LateUpdate. I tried to override them and call base of them at the first of each method but there is a error because of editor execution of SplineController (Null references).

Do you suggest anything for solving this problem ? Can I disable editor execution ?
It is best to keep the editor execution order of Curvy related classes as it is. Can't you define the execution order of your own script to execute at the right time?
The execution order that is actual set aims to make sure that classes are updated in the correct order. For example, that the spline finishes updating before the controller uses it to move an object on it.
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.

Possibly Related Threads…
Thread Author Replies Views Last Post
Wink In SplineController OnPositionReachedList Event is missing shimizu 2 13 02-07-2022, 12:47 PM
Last Post: shimizu
  best way to rotate, change offset, and inset position of splinecontroller object smackledorf 1 25 01-17-2022, 01:39 PM
Last Post: _Aka_
  SplineController slows down approaching connections jh092 5 2,542 08-07-2020, 03:56 PM
Last Post: _Aka_
  make "GetCurrentControlPoint" in SplineController more accessable VampirasuGameStudio 2 2,060 04-19-2020, 02:03 PM
Last Post: _Aka_

Forum Jump: