label
The label shown next to the field's input control.
阅读时间1 分钟最后更新于 2 个月前
Definition
- Type: Property
- Namespace: Unity.UIToolkit.Editor
- Assembly: UnityEditor
[UxmlAttribute]public string label { get; set; }
Remarks
When you don't set a label, it falls back to the display name of the bound SerializedProperty. Set a label to keep it stable regardless of the property name.