logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class ReturnToPrimaryInputGateSignal

    Signal dispatched to return from the main menu to the primary input gate (the press-to-start screen).

    Inheritance
    object
    ReturnToPrimaryInputGateSignal
    Namespace: Serenity.GameMode.Application.Events
    Assembly: Serenity.GameMode.Application.dll
    Syntax
    public class ReturnToPrimaryInputGateSignal : EventDispatcherSignal
    Remarks

    Tears down the menu input context and re-arms the primary input gate so a fresh device can join again. Typically authored on the main menu's OnCancel list. The composition root subscribes and performs the surgical reverse of the boot flow (hide menu, disable controllers, unpair the device, re-show the gate).

    Constructors

    ReturnToPrimaryInputGateSignal()

    Creates a new ReturnToPrimaryInputGateSignal.

    Declaration
    public ReturnToPrimaryInputGateSignal()
    In this article
    © 2026 Serenity. All Rights Reserved