Some, not all, of my scripts (C#) is not possible to disable in the editor, why is that?

Scripts that don’t have a void Start() function can’t be disabled
1 Like
ahhh thanks a lot!
Wait, what. I never heard of this before…
Oh, I just found out that unity does not show disable button when nothing can be disabled. Unity can disable Start, Update, FixedUpdate, OnGUI methods.
Enabled Behaviours are Updated, disabled Behaviours are not.
2 Likes
Yup. Disabled is a weird one sometimes. It doesn’t stoop you from using the script in other scripts. It just stops Unity making automatic calls on it.
1 Like