LabelΒΆ

Override default field label.

Note

If you want to use it on fields that are nested inside serialized structs or classes you need to use the AllowNesting attribute.

public class NaughtyComponent : MonoBehaviour
{
    [Label("Short Name")]
    public string veryVeryLongName;

    [Label("RGB")]
    public Vector3 vectorXYZ;
}
../../_images/Label_Inspector.png