So I was watching a tutorial and the guys keeps banging on about classes being monobehaviour or not and I started wondering why he was making note of one that wasn’t monobehaviour. So I’ve looked it up on Unity and you can see the whole post here, but the main jist is this.
MonoBehaviour is the base class from which every Unity script derives.
Note: There is a checkbox for disabling MonoBehaviour on the Unity Editor; it disables
OnGUI() from executing when unticked. If none of these functions are present in the script, the Editor does not display the checkbox.