Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Facade class which inherits SplineController
#1
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 ?
Reply
#2
Hi,
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.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  make "GetCurrentControlPoint" in SplineController more accessable VampirasuGameStudio 1 151 01-08-2020, 11:12 PM
Last Post: _Aka_
  SplineController Delta after instantiate(Bug?) Marc Mitchell 5 637 11-26-2019, 08:38 PM
Last Post: _Aka_
  Move SplineController in rhythm of song electricpunch 10 2,896 05-16-2019, 09:02 PM
Last Post: _Aka_
  Script inheriting SplineController doesn't work the same as adding component? clearleaf 1 718 04-28-2019, 12:41 PM
Last Post: _Aka_

Forum Jump: