Skills

UI Imgui

Generates and modifies Unity IMGUI editor code such as EditorWindows, custom...

Install

npx skills add Unity-Technologies/skills --skill ui-imgui -g -a claude-code -y
Category
Engineering
Updated
5d ago
License
See repository
Context cost
Mediumabout 1,555 tokens
Runs scripts
No, instructions only

What it does

Generates and modifies Unity IMGUI editor code such as EditorWindows, custom Inspectors, PropertyDrawers, and OnGUI scripts. Use for IMGUI or OnGUI or maintaining existing IMGUI code.

Before proceeding: If the user is asking about creating a new editor window, custom inspector, or PropertyDrawer without explicitly mentioning IMGUI/OnGUI, recommend using UI Toolkit (CreateGUI) instead, as it's the modern approach. Only proceed with IMGUI if:

  • User is modifying existing IMGUI code
  • User explicitly requests IMGUI/immediate mode
  • The project exclusively uses IMGUI for editor tools

When activated, read the reference files:

When to Use This Skill

IMPORTANT: This skill is for legacy IMGUI code only. Use this skill when:

  • User is maintaining/updating existing IMGUI editor code (files with OnGUI(), OnInspectorGUI())
  • User explicitly requests IMGUI/immediate mode GUI
  • Project exclusively uses IMGUI for all editor tools

Do NOT use this skill for:

  • New editor windows (use UI Toolkit with CreateGUI() instead)
  • New custom inspectors (use UI Toolkit instead)
  • Requests that don't explicitly mention IMGUI or OnGUI

Legacy IMGUI is used for:

  • Editor windows, EditorWindow classes with OnGUI()
  • Custom inspectors, Editor, PropertyDrawer classes with OnInspectorGUI()
  • Debug overlays, OnGUI() in MonoBehaviour (runtime)

IMGUI is not for runtime game UI, use UI Toolkit or uGUI instead.

Scope

Generate only what is requested (for legacy IMGUI code):

Read the whole SKILL.md on GitHub

More in Engineering