Organizing your code is essential in any project especially if you’re working in teams. A lot of the code we make spills out into the editor with our variables that should be set by a designer.
Helping them out is also essential so organizing how our variables are displayed in the editor quickly becomes key for a successful project. This is doable with attributes.
http://gomakegames.com/unity-manage-variables-with-attributes/