logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SerenitySignalFlowBrowserWindow

    Read-only master-detail node diagram for the project's event graph: for every EventDispatcherSignal it shows who dispatches it (authored Signal Definition assets and other authored dispatch sites), what listens for it (modal settings), and what reacts to it in code ([AutoRegisterEventAction] actions).
    With signals dispatched no-code (Signal Definitions / SignalEmitter / SignalReaction / action definitions) and reactions auto-registered by attribute, "what fires this, and what happens when it does?" was previously invisible without grepping; this surfaces it as cause → signal → effect diagram, one signal at a time.

    Inheritance
    object
    SerenitySignalFlowBrowserWindow
    Namespace: Serenity.EventDispatcher.Infrastructure.Editor
    Assembly: Serenity.UnityEventDispatcher.Infrastructure.Editor.dll
    Syntax
    public sealed class SerenitySignalFlowBrowserWindow : EditorWindow
    Remarks

    Data collection is delegated to SignalFlowScanner. Signal Definition and modal assets are discovered generically through UnityEditor.SerializedObject (any ScriptableObject with a signalTypeName field). Other authored dispatch sites — UnityActionDefinition assets, plus menu/modal option submit signals and menu-level show/hide/cancel/submit slots (found by Serenity.EventDispatcher.Infrastructure.Editor.SignalFlowViewSignalCollector) — surface as SignalDispatchSite entries in the same left column, distinguished by accent colour and a section header when both kinds are present. Reactions are found from the AutoRegisterEventActionAttribute and the EventDispatcherAction<T> base. By default this is a static view (assets + code); an opt-in "Include scenes & prefabs" toggle (off by default, so opening the browser stays instant) additionally lists prefab/scene emitters and SignalReactionComponent reaction components in the reference panel below the diagram — see Scan(bool) for how that scan stays scene-open-free.
    Drawing reuses Serenity.Global.Infrastructure.Editor.EditorNodeDiagramGui for the card/elbow/hit-test primitives, mirroring SerenityMixerTopologyWindow's visual language (auto-sized cards, elbow connectors, hover/click-select with pulse highlight, legend, detail panel).

    Constructors

    SerenitySignalFlowBrowserWindow()

    Declaration
    public SerenitySignalFlowBrowserWindow()

    Methods

    Open()

    Opens the signal flow browser.

    Declaration
    public static void Open()
    In this article
    © 2026 Serenity. All Rights Reserved