NaughtyAttributes’ Docs

NaughtyAttributes is an open-source extension for the Unity Inspector.

It expands the range of attributes that Unity provides so that you can create powerful inspectors without the need of custom editors or property drawers. It also provides attributes that can be applied to non-serialized fields or functions.

Note

Most of the attributes are implemented using Unity’s CustomPropertyDrawer, so they will work in your custom editors. The attributes that won’t work in your custom editors are the Meta Attributes and some Drawer Attributes such as ReorderableList, Button, ShowNonSerializedField and ShowNativeProperty. If you want all of the attributes to work in your custom editors, however, you must inherit from NaughtyInspector and use the NaughtyEditorGUI.PropertyField_Layout function instead of EditorGUILayout.PropertyField.

Contribute

If you want to contribute you can visit the GitHub Repo and give me pull requests. The project is using CRLF and Spaces instead of Tabs. It’s not a must, but I’d really appreciate if you respect the coding standard. It’s easier for me to merge your changes that way. You can also create issues as feature requests.

Donation

I am developing the project in my free time. If you like it you can support me by donating.

General