Scripting the editor

I am SUPER OCD about how my scripts are laid out, and they cannot be unorganized. Is there a way to make drop downs/folders in the editor, that hold certain variables? Something like making an array, but I just want it to organize the variables.

Assuming C# : If instead of putting the variables directly in as members you organize them into structs, they’ll be displayed in a nested layout in the inspector (you might need to add the Serializable attribute to them in addition).

Sadly, I’m using Javascript :confused: Is there an similar thing in javascript?

Bump!

look at this thread

Thanks.