logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class ResumeGameSignal

    Signal dispatched to resume the game from a paused state.

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

    This signal is typically dispatched from the pause menu's "Resume" option. When handled, it transitions from Pause mode back to Game mode, which:

    • Restores the time scale (if PauseAffectsTimeScale is enabled)
    • Switches to the Game action map for gameplay input
    • Closes the pause menu

    Optionally carries a reference to the IGameModeService for direct access. If not provided, the action will attempt to locate the service via the ServiceLocator.

    Constructors

    ResumeGameSignal()

    Creates a new ResumeGameSignal without a service reference.

    Declaration
    public ResumeGameSignal()

    ResumeGameSignal(IGameModeService)

    Creates a new ResumeGameSignal with a service reference.

    Declaration
    public ResumeGameSignal(IGameModeService gameModeService)
    Parameters
    Type Name Description
    IGameModeService gameModeService

    The game mode service to use.

    Fields

    GameModeService

    Optional direct reference to the game mode service.

    Declaration
    public readonly IGameModeService GameModeService
    Field Value
    Type Description
    IGameModeService
    In this article
    © 2026 Serenity. All Rights Reserved