Member-only story
Use Unity Attributes to Optimize Your Game Design Workflow
Save yourself some time in your next game dev project and use attributes to organize and assist!
Continuing in my series of productivity and organizational tips for Unity, I want to present some Attributes that will make your game designer happy beyond words! For those that don’t know, Attributes in C# are tags that help you associate metadata to constructs like classes, functions and variables.
Attributes are a C# feature (that can be found in most other OOO languages as well) but they are especially powerful when used for Unity. If you are mostly in Visual Studio most of the day, you are a game developer. If you are in the Unity IDE more than Visual Studio, you are also a game designer. Designers need developers to build tools to help them with their workflow in Unity, and Attributes are some of the greatest tools to help designers out.
You may be aware of some of these Attributes, but I’m sure there are a couple that you can integrate into your development routine to improve your Unity experience!
1. [HelpURL]
If you’ve ever used the little Docs icon next to each pre-defined component in Unity, you might find this one necessary. Create a link to your own help…