API ReferenceSandbox
InfoBoxAttributeclass
Draw a box with information above this property
Constructors1
Showing 1 constructors
public InfoBoxAttribute(string message, string icon = info, Sandbox.EditorTint tint = 4)
| Parameter | Type | Description |
|---|---|---|
| message | string | — |
| icon = info | string | — |
| tint = 4 | EditorTint | — |
No results match this filter.
Properties3
Showing 3 properties
public string Sandbox.InfoBoxAttribute.Icon { get; set; }
The icon to show (material icons)
Returns:
string—public string Sandbox.InfoBoxAttribute.Message { get; set; }
Message to display
Returns:
string—public Sandbox.EditorTint Sandbox.InfoBoxAttribute.Tint { get; set; }
The color of this info box. Helps group things, helps things to stand out. Defaults to blue.
No results match this filter.