Property Drawers!
This is a collection of links to lots of lovely property and decorator drawers from aound the internet that can make your Unity life much more pleasant.
The Drawers
Name | Creator | Description | Image |
---|---|---|---|
AutoHook | Lotte | The inspector will automagically hook up a valid reference for you if it can find a component attached to the same game object that matches the field you put it on. You can watch a demo of this in action here https://youtu.be/faVt09NGzws <3 | |
2D Blend | vertexxyz | For picking 2D Values | |
Conditional Hide/Disable | Brechtos | Hide or disable fields if other values evaluate to true/false | |
Enum BitMask | Prime31 | Create a multi-elect dropdown from an enum filed | |
Highlight Basic | Chris | Sets the text/background of a field to any colour. | |
Highlight | Lotte | Add some color to you inspectors! mark important property with a bright color so it always stands out, or supply a validation function so highlights show on values that would effect the current ingame logic! | |
Inspector Foldout Group | dimmpixeye | Group variables in Unity 3d inspector with style! | |
KeyCode picker | vertexxyz | Select and hit the key you wish to use instead of scrolling an endless enum field. | |
Min Max | Lotte | Draw a useful min/max setting slider. | |
Read Only | Lotte | Add a StatsBar attribute to a property to make it draw a lil bar, really useful for visualizing character stats like Health or Mana. | |
Require Component | rodrigo | Highlight items in the inspector that must be filled | |
Searchable Enum | Ryan Hipple | A popup window that gives a scrolling, filterable list for long enums | |
Stats Bar | Lotte | Make a field show up as read only in the inspector | |
Test Button | Lotte | Make it super easy to trigger code via buttons in the inspector, and get feedback! | |
Traffic Lights | Lotte | Draws lil Traffic Lights in the inspector. its really useful for visualizing state. For example, checkboxes can be hard to read at a glace, but a Red or Green status light is easy! Recommend you use the attached package, as it has all the icon image files. |
About
Contributing
If you have a lovely drawer that you’d like to share, send me the details, or if you’re really into this github thing, submit a pull request with your addition(s). If you want me to remove something of yours from here, let me know that too and I’ll do it!
Why isn’t this an actual database or something
I wanted to see if it was a worthwhile project in the firstplace, and Github.io seemed like a good way to try out the MVP.
Contact
chris@vitei.com