name
The name of this VisualElement.
阅读时间1 分钟最后更新于 1 个月前
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.