This repo provides simple templates for anyone who wants to start developing custom UI and extensions for the Unity Editor using the integrated UI Toolkit and the UI Builder.
| Template Name | Description |
|---|---|
| MyEditorWindow | Minimal template for creating a custom UI Window. |
| EditorWindowExample | Example template showing basic UI elements and callbacks. Mixture of UI elements created in C# and with UI Builder. |
If you found this repo trying to figure out how to extend the UI and just need a quick tutorial to get started, do the following examples in this order to get a basic grasp of the concepts (15-20 Minutes):
To use a template, copy the folder (e.g. MyEditorWindow) into the Assets/ folder of your Project.
It can then be opened from Unity's menu bar via Tools/[Template Name]:
-
Create a custom Editor window using C#:
https://docs.unity3d.com/6000.4/Documentation/ScriptReference/EditorWindow.html -
EditorTooldocumentation:
https://docs.unity3d.com/ScriptReference/EditorTools.EditorTool.html
