API ReferenceSandbox
public sealed class Sandbox.InfoBoxAttribute : System.Attribute
Draw a box with information above this property
Constructors
Showing 1 constructors
public InfoBoxAttribute(string message, string icon = info, Sandbox.EditorTint tint = 4)
Parameters
icon: Default: infotint: Default: 4
No results match this filter.
Properties
Showing 3 properties
public string Sandbox.InfoBoxAttribute.Icon { get; set; }
The icon to show (material icons)
public string Sandbox.InfoBoxAttribute.Message { get; set; }
Message to display
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.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.System |
| Doc ID | T:Sandbox.InfoBoxAttribute |