Get RAPTOR

RaptorSuiteToast

Shows a short notice at the bottom centre of the Suite.

NamespaceAssemblyKindStability
Raptor.EditorToolsRaptor.Editorclasspreview, since 0.1.0

Notices draw above drawers and below Settings and dialogs, and close automatically. Clicks pass through them.

public static class RaptorSuiteToast

Fields

DefaultSeconds

public const double DefaultSeconds;

How long a notice stays by default, in seconds.

Methods

Show

public static void Show(string message, double seconds = DefaultSeconds, string glyph = null)

Shows a notice on the open Suite. With no Suite open, it uses Unity's notification on the last Scene view.

ParameterTypeDefaultDescription
messagestringThe message. An empty message shows nothing.
secondsdoubleDefaultSecondsHow long it stays, in seconds.
glyphstringnullThe icon name, or null for the tick.