Unity Editor Scripting

Create custom Unity editor tools, inspectors, windows, and build scripts.

3|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/Totes-MickGOATs/mcgoats-game-template --skill unity-editor-scripting
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Unity Editor Scripting
Source: https://github.com/Totes-MickGOATs/mcgoats-game-template/tree/main/engine/unity/skills/unity-editor-scripting
Command: npx skills add https://github.com/Totes-MickGOATs/mcgoats-game-template --skill unity-editor-scripting

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill empowers Unity developers to streamline workflows and enhance the editor experience by creating custom tools, inspectors, windows, and build pipeline extensions.

Core Features & Use Cases

  • Custom Inspectors: Tailor how components appear in the Inspector window for better usability.
  • Property Drawers: Customize the display of specific field types across all inspectors.
  • Editor Windows: Develop dockable windows for complex tools and workflows.
  • Scene View Tools: Add interactive handles and overlays to the Scene view for direct manipulation.
  • Menu Items: Extend the Unity editor's menu system with custom actions.
  • Asset Postprocessing: Automate asset import and configuration.
  • Build Pipeline Integration: Script build processes and add pre/post-build hooks.

Quick Start

Create a new Unity Editor Window by defining a class that inherits from EditorWindow and adding a [MenuItem] attribute to a static method that calls GetWindow<YourWindowClass>().

Frequently Asked Questions about Unity Editor Scripting

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

FAQPage Schema
How do I create a custom Unity editor window for my game development workflow?

Build custom inspectors by inheriting from the Editor class and utilizing Unity's Editor scripting API. This tailors how specific components appear in the Inspector window, significantly improving component usability for your team.

Can I automate asset import and configuration using Unity editor scripting?

Yes, you can automate asset import and configuration using Asset Postprocessing scripts. This Unity editor scripting feature allows you to automatically enforce import settings and modify assets upon ingestion into your project.

What is the best way to add interactive handles and overlays to the Unity scene view?

The best way to add interactive handles and overlays to the Unity scene view is through Scene View tools. This editor scripting capability enables direct manipulation and custom visualization of game objects within the 3D environment.

Does Unity editor scripting require integration with the Undo system and SessionState management?

Yes, robust Unity editor scripting requires adherence to the Undo system and EditorPrefs or SessionState management. Integrating these ensures your custom tools respect user actions and maintain proper state persistence across sessions.

How do I script Unity build processes and add pre or post-build hooks?

Script Unity build processes and add pre or post-build hooks using Build Pipeline Integration. This editor scripting technique automates your deployment pipeline, enabling custom actions to execute before or after your game builds.