Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


label

The label shown next to the field's input control.
Read time 1 minuteLast updated 13 days 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.