# dbrizov/NaughtyAttributes

Attribute Extensions for Unity

Repository: https://github.com/dbrizov/NaughtyAttributes
Canonical: https://ross.abutalabs.com/products/naughtyattributes
Language: C#
License: MIT
License Family: permissive
Topics: unity3d, unity3d-plugin, unity3d-editor, attributes, extension, naughty
Last push: 2026-06-29T17:47:03+00:00

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 90, release rhythm 78, longevity 100
- inputs: {"age_days": 3243, "days_push": 65, "days_rel": 65, "gap_med": 81, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5201, forks 502 (observed 2026-08-28T04:09:12.108900+00:00)

## What it is
NaughtyAttributes is a Unity plugin that extends the Unity Inspector with a rich set of C# attributes for building powerful inspectors without custom editors or property drawers. It includes drawer, meta, and special attributes applicable to serialized fields, non-serialized fields, and functions.

## Use cases
- show or hide inspector fields conditionally in Unity
- add buttons to Unity inspector without custom editors
- create reorderable lists in Unity inspector
- make read-only fields in Unity inspector
- customize Unity inspector with attributes instead of property drawers

## When to choose
- you use Unity 2022.3+ and want richer inspectors with minimal code
- you want to avoid writing custom editors and property drawers
- you need conditional field display, buttons, or grouped fields in the inspector

## When to avoid
- you work outside the Unity engine
- you need all attributes to work inside fully custom editors without inheriting NaughtyInspector
- you target Unity versions older than 2022.3

## Facets
- artifact type: plugin
- maturity: active
- function: ui-components, developer-tools
- domain: developer-tools
- platform: game-engine, cross-platform
- tags: unity, inspector-attributes, csharp, editor-extensions, property-drawers, game-development

## Member repositories
- dbrizov/NaughtyAttributes (main) score 88

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:12.108900+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:00:14.976447+00:00, confidence not recorded.
  - readme: https://github.com/dbrizov/NaughtyAttributes (fetched 2026-08-28T04:09:12.108900+00:00, sha 5146a64ab6fd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
