Essential Attributes
A powerful collection of custom attributes to enhance your Unity Inspector — improve readability, prevent human error, and streamline workflows.
by Foxal Face
Price History +
Essential Attributes is a lightweight yet powerful toolkit of Inspector-level attributes designed to make your Unity workflow faster, clearer, and safer — without writing any custom editor code.
Each attribute focuses on solving common everyday needs: running methods from the editor, catching default values, previewing textures, locking sensitive fields, or selecting scenes from dropdowns. Everything is tightly integrated into Unity’s native look & feel and supports advanced usage with arrays, nested types, and serialized objects.
Ideal for developers, designers, and technical artists working on tools, UI, gameplay logic, or prefab-heavy systems.
⚙️ Included Attributes
- 🧩 [Button]
Draws buttons in the Inspector to invoke methods — supports parameters, return values, tooltips from XML docs, and persistent parameter memory.
Grouped neatly under a foldout and toggleable for Editor/Runtime. - 🔒 [Lockable]
Adds a padlock to serialized fields, making them read-only in the Inspector.
Supports arrays/lists and gives you control over locking elements, header, or both. - 🚫 [NotDefault]
Highlights fields that remain at their default value with a red outline and logs an error in the Console.
Recursive support for nested structs/classes and arrays, with manual or auto-check options. - 🎯 [SceneRef]
Replaces string or int fields with scene pickers.
Automatically keeps paths in sync across prefabs/scenes with a smart broadcasting system. - 🖼️ [TexturePreview]
Renders a visual preview of any assigned Texture2D or Sprite, optionally showing the asset path. - 🏷️ [ElementName]
Customize how Unity labels array/list elements in the Inspector (Element 0 → Waypoint 0).
💡 Try Before You Buy
Two attributes — [ElementName] and [TexturePreview] — are available for free on the Unity Asset Store.
Each other attribute is also available as a standalone package if you only need one specific tool.