NaughtyAttributes extends the Unity Editor with additional serialized field attributes, buttons, and layout helpers without custom property drawers for most cases.
Overview
NaughtyAttributes adds drawer and meta attributes that widen what Unity's default Inspector can show, including buttons on methods, dropdowns, sliders, and grouped layouts. Many attributes work through standard CustomPropertyDrawer integration.
Optional NaughtyInspector base classes expose features like ReorderableList and ShowNonSerializedField inside custom editors. Documentation lists animator parameters, layer and tag pickers, progress bars, and conditional enable or show rules.
Installation supports Unity 2022.3 or newer via Package Manager git URL or OpenUPM. Attributes can target non-serialized fields or methods where Unity normally hides them.
The project is an editor and runtime attribute library rather than a standalone game or service.
Key features
- Button methods in Inspector
- Dropdown and enum flag UIs
- Min-max and progress bar sliders
- Box and foldout grouping
- Show non-serialized fields
- Reorderable list drawer
- Conditional show and enable rules
- Unity 2022.3+ Package Manager install
Use cases
- Faster Unity level design UIs
- Designer-facing debug buttons
- Grouped inspector layouts
- Validator attributes on fields