odin-inspector

Integrate Odin Inspector attributes into Unity scripts for enhanced serialization and editor tooling.

3|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/XeldarAlz/KlondikeSolitaire --skill odin-inspector
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: odin-inspector
Source: https://github.com/XeldarAlz/KlondikeSolitaire/tree/main/.claude/skills/third-party/odin-inspector
Command: npx skills add https://github.com/XeldarAlz/KlondikeSolitaire --skill odin-inspector

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Odin Inspector extends Unity's inspector with powerful serialization (dictionaries, interfaces, polymorphic types), validation attributes, layout control, and custom editor window tools. It dramatically reduces the need for custom editors.

Core Features & Use Cases

  • SerializedMonoBehaviour and SerializedScriptableObject support for complex data structures
  • Validation attributes, layout controls, and custom drawers to improve editor UX
  • Inline editors, ShowInInspector, button groups, and advanced inspector customization for rapid iteration

Quick Start

Install Odin Inspector in your Unity project and apply Odin attributes to your scripts to enable enhanced editors.

Frequently Asked Questions about odin-inspector

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I serialize dictionaries and polymorphic types in the Unity inspector?

Odin Inspector extends the Unity editor with advanced serialization through SerializedMonoBehaviour and SerializedScriptableObject, enabling dictionaries and polymorphic types directly in the inspector without custom editors.

Can I use Odin Inspector attributes on standard MonoBehaviour and ScriptableObject assets?

Odin Inspector supports standard MonoBehaviour and ScriptableObject assets alongside SerializedMonoBehaviour, applying editor-only attributes for validation, inline editors, and button groups to enhance your Unity inspector layout.

What's the best way to add validation and layout controls to a Unity editor window?

Applying Odin's validation attributes and layout controls to your scripts is the best way to add validation and layout controls, dramatically reducing the need for custom Unity editor tooling while improving UX.

Do I need Odin Inspector installed to use SerializedMonoBehaviour in my Unity project?

Yes, using SerializedMonoBehaviour requires Odin Inspector to be present in your Unity project, as it provides the advanced serialization, data-binding features, and editor-only attributes for your scripts.

How do I display private fields in the Unity inspector without writing custom editor scripts?

To display private fields without custom editor scripts, use Odin's ShowInInspector attribute, which exposes private variables in the Unity inspector while integrating with advanced editor-only UI features.