unity-code-editor

Create and maintain Unity Editor tooling with custom inspectors and gizmos.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/cuozg/oh-my-unity --skill unity-code-editor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-code-editor
Source: https://github.com/cuozg/oh-my-unity/tree/main/skills/unity-code-editor
Command: npx skills add https://github.com/cuozg/oh-my-unity --skill unity-code-editor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Helps Unity developers create robust Editor tooling to accelerate editor workflows, enhance component editing, and visualize scenes directly in the editor.

Core Features & Use Cases

  • EditorWindow tooling for custom tools
  • CustomEditor inspectors and PropertyDrawers to tailor serialized data
  • Gizmos/Handles for in-scene visualization
  • MenuItem utilities and editor utilities for quick access
  • Clear Editor/Runtime separation with proper folder structure and safety patterns
  • Real-world use cases include in-editor dashboards, workflow automations, and rapid prototyping tools

Quick Start

Create an Editor script under an Editor/ folder implementing an EditorWindow or CustomEditor as described.

Frequently Asked Questions about unity-code-editor

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

FAQPage Schema
How do I create a custom editor window in Unity to build tooling?

To create a custom editor window in Unity, you need to write an Editor script inside an Editor/ folder. This separates editor tooling from runtime code and allows you to build custom tooling interfaces.

What is the correct folder structure for Unity property drawers and custom editors?

Unity property drawers and custom editors must be placed in an Editor/ folder. This ensures proper Editor/Runtime separation, keeping UnityEditor dependent scripts out of your runtime builds and maintaining safe folder structure.

How do I draw gizmos and handles for scene visualization in the Unity editor?

You draw gizmos and handles for scene visualization by applying UnityEditor patterns within your custom editor scripts. This allows you to render in-scene visualizations directly in the editor view for better component inspection.

Can I use this approach to build menu item utilities for Unity editor workflows?

Yes, you can build MenuItem utilities to add quick access tools to the Unity editor menu. This streamlines editor workflows and enables rapid prototyping tools and workflow automations directly from the top menu bar.

Do I need to follow specific Unity serialization practices when building custom inspectors?

Yes, building custom inspectors requires adherence to UnityEditor patterns and unity-standards for safe Editor scripting. You must implement proper Undo/Serialization practices to ensure robust component editing and data integrity.