name
The name of this VisualElement.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
[UxmlAttribute]public string name { get; set; }
Remarks
Use this property to write USS selectors that target a specific element. The standard practice is to give an element a unique name.