I have a monobehaviour class that I use in UnityEditor. It looks like this:
When I put it into the Editor folder, the inspector changes into this:
Why this happening and what does it mean ?
The enabling checkbox for a mono behaviour script means that it contains 'Start' or 'Update' methods. You can prevent unity from calling these methods by disabling the checkbox. If your script does not contain either of these methods then the checkbox disappears.
However for an editor script it is somehow different. Editor classes don't work with 'Start' and 'Update' so the checkbox appears there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With