Let us suppose we have a game object which has hundreds of scripts attached. Now out of those hundreds we can pick out groups responsible for a specific functionality. E.g. there are 15 scripts responsible for moving on the ladder, there 20 scripts which control shooting, 10 scripts which control jumping, etc.
Now it becomes hard to navigate all the scripts when you want to see only a specific feature related scripts.
So, what I want to do is to add some kind of grouping separators in my Inspector view, which would separate groups of scripts from each other.
Of course I know about the following improvements:
- making the codebase structure reasonable by utilizing folders
- placing the scripts close to each other by reordering them in the Inspector view
But still I feel that having the separators would make my life easier.
E.g. as the red lines on screenshot separate script groups, I would like to have something similar in the editor:
I found some documentation related to my question: https://docs.unity3d.com/Manual/editor-PropertyDrawers.html. But it seems that I can only customize the look of a specific script or property, but not the Inspector view. Is it so?