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.

[LabelText("1")]
public int MyInt1;

[LabelText("2")]
public int MyInt2;

[LabelText("3")]
public int MyInt3;

[InfoBox("Use $ to refer to a member string.")]
[LabelText("$MyInt3")]
public string LabelText = "Dynamic label text";

[InfoBox("Use @ to execute an expression.")]
[LabelText("@DateTime.Now.ToString(\"HH:mm:ss\")")]
public string DateTimeLabel;