[HelpBox]

Attribute used for displaying a help box with an icon above the field.

Parameters

Parameter Name
Arguments
Description

text

string

Message to display in the help box.

Style

MessageStyle

Icon style of the help box message.

Height

float

Height of the help box in pixels.

Examples

[HelpBox("This is a helpful message.")]
public string helpField;

[HelpBox("Warning: This value is critical.", Style = MessageStyle.Warning)]
public int criticalValue;

[HelpBox("Error: Invalid configuration.", Style = MessageStyle.Error, Height = 40)]
public float errorField;

Last updated