Class HelpBoxAttribute
Attribute to display a help box in the Unity Inspector.
public class HelpBoxAttribute : PropertyAttribute
Inheritance
Remarks
Can be used to add notes, warnings, or tips directly above a property.
Constructors
HelpBoxAttribute(string, HelpBoxMessageType)
Creates a new HelpBoxAttribute with a message and optional message type.
public HelpBoxAttribute(string message, HelpBoxMessageType messageType = HelpBoxMessageType.Info)
Parameters
| Name | Type | Description |
|---|---|---|
message | string | The text to display in the help box. |
messageType | HelpBoxMessageType | The message type (defaults to Info). |
Properties
Message
The message to display inside the help box.
public string Message { get; }
Property Value
string