s&box docs

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: info
  • tint: Default: 4

Properties

Showing 3 properties

public string Sandbox.InfoBoxAttribute.Icon { get; set; }

The icon to show (material icons)

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.

Metadata

FieldValue
NamespaceSandbox
Typeclass
AssemblySandbox.System
Doc IDT:Sandbox.InfoBoxAttribute

On this page