logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.Ui.Infrastructure.Components.Toast

    Classes

    ShowToastSignal

    Signal that requests a transient toast notification carrying Message.
    Dispatched through the event system (e.g. a cascade menu option's OnSelectSignal, a SignalEmitterComponent, or any code path) and turned into a visible toast by a UnityToastSignalReactionComponent listening for it.

    UnityToastComponent

    Lightweight, non-blocking notification ("toast"): shows a short message, holds it, and removes it, without interrupting input the way a modal does.
    Fully no-code to trigger: Show(string) is wirable from any UnityEvent (a Button's onClick, a SignalReactionComponent response, an animation event…) with the message typed straight into the inspector — so "when signal X happens, toast 'Saved!'" needs no script.

    UnityToastSignalReactionComponent

    Bridge that turns a dispatched ShowToastSignal into a visible toast on a UnityToastComponent.
    Unlike SignalReactionComponent (whose response is parameterless), this listener reads the signal's Message payload and forwards it to Show(string), so one component renders any message — letting different call sites (e.g. each cascade menu option) request a different toast without one event per message.

    In this article
    © 2026 Serenity. All Rights Reserved