RaptorSuiteToast
Shows a short notice at the bottom centre of the Suite.
| Namespace | Assembly | Kind | Stability |
|---|---|---|---|
Raptor.EditorTools | Raptor.Editor | class | preview, since 0.1.0 |
Notices draw above drawers and below Settings and dialogs, and close automatically. Clicks pass through them.
public static class RaptorSuiteToastFields
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.
| Parameter | Type | Default | Description |
|---|---|---|---|
message | string | The message. An empty message shows nothing. | |
seconds | double | DefaultSeconds | How long it stays, in seconds. |
glyph | string | null | The icon name, or null for the tick. |