You can author runtime UI directly in Unity’s main editor environment, using the Hierarchy window, Scene view, and Inspector window alongside dedicated UI authoring windows. This workflow is an alternative to working in the standalone UI Builder.
Note: In-scene UI authoring is for runtime UI only. To create UI for the Unity Editor, use UI Builder.
| Topic | Description |
|---|---|
| UI authoring interface | Understand the UI authoring interface. |
| Get started with in-scene UI authoring | Create a UI layout using the in-scene UI authoring workflow, following a step-by-step example. |
| Work with elements in-scene | Learn how to add, organize, and manipulate elements in the scene. |
| Style UI in-scene | Learn how to style elements with inline styles and USS selectors. |
| Manage USS variables in-scene | Learn how to create, assign, and remove USS variables in the scene. |
| Test UI in-scene | Test UI behavior before and during Play mode, view edits in context across multiple windows, and automate tests for repeatable verification. |
| Reference runtime visual elements in Inspector | Learn how to use VisualElementReference to reference runtime visual elements in the Inspector. |
| Use UXML instances as templates in-scene | Learn how to use UXML instances as templates in-scene. |