Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Extending the Editor with IMGUI

Create custom inspector windows, Editor Windows, and property drawers for your tools.
Read time 1 minuteLast updated 22 days ago

Note
It's strongly recommended to use the UI Toolkit to extend the Unity Editor, as it provides a more modern, flexible, and scalable solution than IMGUI.
Unity lets you extend the editor with your own custom inspectors and Editor Windows and you can define how properties are displayed in the inspector with custom Property Drawers. This section explains how to use these features.

Topic

Description

Create custom Editor Windows with IMGUICreate custom windows in your app.
Create custom Editors with IMGUICreate custom editors for components you commonly use.
Use Property Drawers with IMGUI to customize the InspectorCustomize the look of certain controls in the Inspector window.
Create TreeView with IMGUICreate custom tree views in the Editor.