behaviour-hook-unknown
Since 0.6
a class X extends Behaviour has a method Behaviour never calls — Awake, FixedUpdate, LateUpdate, OnTriggerStay, OnCollisionStay, OnCollisionExit, or an object-form hook such as update; thrown in init
| Severity | error |
Meaning
a class X extends Behaviour has a method Behaviour never calls — Awake, FixedUpdate, LateUpdate, OnTriggerStay, OnCollisionStay, OnCollisionExit, or an object-form hook such as update; thrown in init
Fix
rename it to the hook the message names: Start, Update(dt), OnEnable, OnDisable, OnDestroy, OnTriggerEnter, OnTriggerExit, OnCollisionEnter, OnEvent, OnPausedUpdate