If whatever we have in Update() / Start() are supposed to override the inherited Start() and Update() functions from Monobehaviour, why isn’t a ‘Override’ keyword used with them?
Thanks!
If whatever we have in Update() / Start() are supposed to override the inherited Start() and Update() functions from Monobehaviour, why isn’t a ‘Override’ keyword used with them?
Thanks!
No, they’re magic functions. Also notice that they’re private, how are they being called? When a component is added, the engine in C++ finds these functions through the mono runtime and calls them from there. This is why they’re not overrided and private, and why they can have different function signatures at times (such are turning an IEnumerator from Start).