Label Text Attribute

LabelText is used to change the labels of properties. Use this if you want a different label than the name of the property.

public int MyInt1 = 1;

public int MyInt2 = 12;

public int MyInt3 = 123;

[InfoBox("Use $ to refer to a member string.")]
public string LabelText = "The label is taken from the number 3 above";

[InfoBox("Use @ to execute an expression.")]
public string DateTimeLabel;

[LabelText("Test", SdfIconType.HeartFill)]
public int LabelIcon1 = 123;

[LabelText("", SdfIconType.HeartFill)]
public int LabelIcon2 = 123;