01-29-2020, 06:45 AM
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 ?
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 ?