odin-inspector

Enhance Unity inspectors with Odin attributes for serialization, validation, and layout.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill reduces the effort required to serialize complex Unity data, validate configuration, organize inspector layouts, and build editor tooling with custom code.

Core Features & Use Cases

  • Advanced Serialization: Use SerializedMonoBehaviour and SerializedScriptableObject for dictionaries, interfaces, polymorphic data, and nested structures.
  • Inspector Validation and Layout: Apply required-field checks, value constraints, conditional visibility, grouping, previews, searchable lists, and table displays.
  • Editor Tooling: Create Odin editor windows, menu trees, inspector buttons, and interactive configuration tools.
  • Use Case: Improve an enemy configuration asset with validated stats, preview images, grouped settings, editable loot tables, and a test-spawn button directly in the Unity Inspector.

Quick Start

Use the odin-inspector skill to design a validated Unity configuration asset with appropriate Odin serialization, inspector grouping, conditional fields, and editor actions.

Frequently Asked Questions about odin-inspector

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

FAQPage Schema
How do I serialize a dictionary or polymorphic data in Unity ScriptableObjects?

To serialize dictionaries, interfaces, and polymorphic data in Unity ScriptableObjects, use Odin's SerializedScriptableObject and SerializedMonoBehaviour base classes. These bypass native Unity serialization limitations for complex, nested game data structures.

How do I add validation and conditional fields to my Unity inspector?

You can validate Unity inspector fields and set conditional visibility using Sirenix Odin attributes. This enables required-field checks, value constraints, and grouping directly on your MonoBehaviours and ScriptableObjects without writing custom editor code.

How do I build a custom Unity editor window with Odin Inspector?

Build custom Unity editor tooling by utilizing Odin attributes to create menu trees, interactive configuration windows, and inspector buttons. This allows you to design editor windows for runtime diagnostics and game data management with less boilerplate.

Does Odin serialization work with Unity 6 projects?

Odin Inspector and Serializer are fully applicable to Unity 6 projects. They support ScriptableObjects, MonoBehaviours, and editor windows while accounting for serialization performance and editor-only feature constraints.

What are the limitations of using Odin Serializer for Unity configuration?

When using Odin Serializer, you must account for migration risks and serialization performance overhead. Editor-only features require Sirenix Odin attributes and base classes, meaning custom inspector tooling will not function without the dependency installed.