Can you group scripts on game objects in unity?
I have a player object that has tons and tons of scripts on it controlling various things. The scripts are well organized (I think) and well grouped in roles. Some can be grouped together as they work together to accomplish similar goals such as:
movement, animation, camera controllers, unique actions, building, gravity,
etc.
It would be nice if I could create a collapsible UI element that I could just drag these scripts into, for example having all the movement-related scripts bundles together (movement, gravity, force. etc). in which I can just open that menu and adjust the scripts as need be.
I've considered just creating various empty game objects under the player to hold them and then click on them but it doesn't seem as sleek as the collapsible UI element.
Any suggestions?
Your answer
Follow this Question
Related Questions
How to create a selection menu in the inspector for classes and their methods? 1 Answer
Unity Editor big laagspikes 0 Answers
SerializedProperty for Array not declared as an array (isArray = false) 0 Answers
Editor Int sliders affecting each other 0 Answers
how would I display an array correctly with from an editor script? 0 Answers