Hide
HeaderLabel / HeaderLeftLabel

Draw a label in the component header. This can be used on a method, property, field, or a Component class.

using SaintsField; using SaintsField.ComponentHeader; [HeaderLeftLabel("Fixed Text")] [HeaderLabel] // dynamic text public string label; // also works if it's a private (non-serialized) type

Image

Can be used on a component class:

using SaintsField; using SaintsField.ComponentHeader; [HeaderLabel("
quot;
+ nameof(value))] [HeaderLeftLabel("dynamic:")] public class HeaderLabelClassSaExample : MonoBehaviour { public string value; }

Image