Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


In-scene UI authoring

Read time 1 minuteLast updated 25 days ago

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 interfaceUnderstand the UI authoring interface.
Get started with in-scene UI authoringCreate a UI layout using the in-scene UI authoring workflow, following a step-by-step example.
Work with elements in-sceneLearn how to add, organize, and manipulate elements in the scene.
Style UI in-sceneLearn how to style elements with inline styles and USS selectors.
Manage USS variables in-sceneLearn how to create, assign, and remove USS variables in the scene.
Test UI in-sceneTest 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 InspectorLearn how to use VisualElementReference to reference runtime visual elements in the Inspector.
Use UXML instances as templates in-sceneLearn how to use UXML instances as templates in-scene.

Additional resources