Version: 2022.3
Language : English
Test UI
The visual tree

Structure UI

You can structure UI(User Interface) Allows a user to interact with your application. Unity currently supports three UI systems. More info
See in Glossary
with either UXML or C#.

Topic Description
The visual tree Structure elements in your UI into a visual treeAn object graph, made of lightweight nodes, that holds all the elements in a window or panel. It defines every UI you build with the UI Toolkit.
See in Glossary
.
Structure UI with UXML Write UXML files, add styles to UXML, and reuse UXML templates.
Structure UI with C# scripts Add and interact with UI controls in C#.
Custom controls Understand the steps to create and use custom controls.
Best practices for managing elements Things you can do to improve performance when you manage elements in a UI.
Encapsulate UXML documents with logic Create reusable UI components that encapsulate a specific hierarchy of elements.
UXML elements Reference Find a complete list of all the UXML elements.
Structure UI examples Find a list of structure UI examples.

Additional resources

Test UI
The visual tree
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961