An open API service indexing awesome lists of open source software.

https://github.com/fishtopher/UnityDrawers

A collection of property and decorator drawers for Unity
https://github.com/fishtopher/UnityDrawers

Last synced: 8 months ago
JSON representation

A collection of property and decorator drawers for Unity

Awesome Lists containing this project

README

          

## 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](https://gist.github.com/LotteMakesStuff/d6a9a4944fc667e557083108606b7d22) | [Lotte](https://gist.github.com/LotteMakesStuff/) | 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](https://gist.github.com/vertxxyz/5a00dbca58aee033b35be2e227e80f8d) | [vertexxyz](http://vertx.xyz) | For picking 2D Values | ![](Images/vertxxyz-blend2D.png)
[Conditional Hide/Disable](http://www.brechtos.com/hiding-or-disabling-inspector-properties-using-propertydrawers-within-unity-5/) | [Brechtos](http://www.brechtos.com) | Hide or disable fields if other values evaluate to true/false | [![](Images/brechtosConditionalHide.gif)](Images/brechtosConditionalHide.gif)
[Enum BitMask](https://github.com/prime31/UtilityKit/tree/master/Assets/UtilityKit) | [Prime31](https://github.com/prime31/) | Create a multi-elect dropdown from an enum filed | ![](-)
[Highlight Basic](https://gist.github.com/fishtopher/f0caa8bd2c5cc5ed825c7c348dbe8908) | [Chris](https://github.com/fishtopher/) | Sets the text/background of a field to any colour. | [![](Images/HighlightPropertyDrawer.png)](Images/HighlightPropertyDrawer.png)
[Highlight](https://gist.github.com/fishtopher/f0caa8bd2c5cc5ed825c7c348dbe8908) | [Lotte](https://gist.github.com/LotteMakesStuff/) | 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! | [![](https://gist.githubusercontent.com/LotteMakesStuff/2d3c6dc7a913ed118601db95735574de/raw/6d9b508c7baf2269977dc83a9e70d1102425a1f2/demo.gif)](https://gist.githubusercontent.com/LotteMakesStuff/2d3c6dc7a913ed118601db95735574de/raw/6d9b508c7baf2269977dc83a9e70d1102425a1f2/demo.gif)
[Inspector Foldout Group](https://github.com/dimmpixeye/InspectorFoldoutGroup) | [dimmpixeye](https://github.com/dimmpixeye) | Group variables in Unity 3d inspector with style! | [![](Images/dimmpixeye-InspectorFoldoutGroup.gif)](Images/dimmpixeye-InspectorFoldoutGroup.gif)
[KeyCode picker](https://gist.github.com/vertxxyz/8f0f73251cfad898407ceff3a2a2a432) | [vertexxyz](http://vertx.xyz) | Select and hit the key you wish to use instead of scrolling an endless enum field. | ![](Images/vertexxyz-keycode.gif)
[Min Max](https://gist.github.com/LotteMakesStuff/0de9be35044bab97cbe79b9ced695585) | [Lotte](https://gist.github.com/LotteMakesStuff/) | Draw a useful min/max setting slider. | ![](-)
[Read Only](https://gist.github.com/LotteMakesStuff/c0a3b404524be57574ffa5f8270268ea) | [Lotte](https://gist.github.com/LotteMakesStuff/) | 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](https://twitter.com/Rodrigo_Devora/status/1204031607583264769) | [rodrigo](https://twitter.com/Rodrigo_Devora) | Highlight items in the inspector that *must* be filled | ![https://pbs.twimg.com/media/ELWUWOPXsAIMJdn?format=jpg&name=small](https://pbs.twimg.com/media/ELWUWOPXsAIMJdn?format=jpg&name=small)
[Searchable Enum](https://github.com/roboryantron/UnityEditorJunkie/tree/master/Assets/SearchableEnum) | [Ryan Hipple](https://github.com/roboryantron/) | A popup window that gives a scrolling, filterable list for long enums | [![](Images/RyanHipple-SearchableEnum.gif)](Images/RyanHipple-SearchableEnum.gif)
[Stats Bar](https://gist.github.com/LotteMakesStuff/b8853a16de3e680dc1c326fe6f5ebd7e) | [Lotte](https://gist.github.com/LotteMakesStuff/) | Make a field show up as read only in the inspector | ![](-)
[Test Button](https://gist.github.com/LotteMakesStuff/dd785ff49b2a5048bb60333a6a125187) | [Lotte](https://gist.github.com/LotteMakesStuff/) | Make it super easy to trigger code via buttons in the inspector, and get feedback! | [![](https://gist.githubusercontent.com/LotteMakesStuff/dd785ff49b2a5048bb60333a6a125187/raw/b3f1633db509027782ac0d626c7db07e76177c08/demo.gif)](https://gist.githubusercontent.com/LotteMakesStuff/dd785ff49b2a5048bb60333a6a125187/raw/b3f1633db509027782ac0d626c7db07e76177c08/demo.gif)
[Traffic Lights](https://gist.github.com/LotteMakesStuff/7fa131b0402ffb50a9e617c0d45ffa59) | [Lotte](https://gist.github.com/LotteMakesStuff/) | 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. | [![](https://gist.githubusercontent.com/LotteMakesStuff/7fa131b0402ffb50a9e617c0d45ffa59/raw/f6b0ace6950ae949f25485c7da7d527f40f83020/demo.gif)](https://gist.githubusercontent.com/LotteMakesStuff/7fa131b0402ffb50a9e617c0d45ffa59/raw/f6b0ace6950ae949f25485c7da7d527f40f83020/demo.gif)

## 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