Documentation

Unity Engine

Download Unity

Unity Engine

label

The label shown next to the field's input control.
Read time 1 minuteLast updated 6 hours ago

Definition

[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.