The following tables outline the UXML elements available in the UnityEngine.UIElements
and UnityEditor.UIElements
namespaces.
Element | Namespace | C# class |
---|---|---|
BindableElement |
UnityEngine.UIElements |
UnityEngine.UIElements.BindableElement |
VisualElement |
UnityEngine.UIElements |
UnityEngine.UIElements.VisualElement |
The following table is a reference of all built-in controls available for UI(User Interface) Allows a user to interact with your application. Unity currently supports three UI systems. More info
See in Glossary Toolkit.
Element | Description | Namespace | Permitted child elements | Attributes |
---|---|---|---|---|
Template |
A reference to another UXML template that can be instantiated using the Instance element. |
UnityEngine.UIElements |
None |
name : A unique string identifier for this elementpath : The path of the UXML file to load |
Instance |
Instance of a Template
|
UnityEngine.UIElements |
None |
template : The name of the Template to instantiate |
Element | Description | Namespace | Permitted child elements | Attributes |
---|---|---|---|---|
Columns |
Contains descriptions of columns. Must be a child of a parent that supports it, such as MultiColumnListView or MultiColumnTreeView. | UnityEngine.UIElements |
Column |
None |
Column |
Describes a column. Must be a child of Columns . |
UnityEngine.UIElements |
None |
name : The name of this column in codetitle : The name displayed in the header of this columnwidth : The default width of this column in pixels |