logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class PauseToggledSignal

    Signal dispatched when pause is toggled.

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

    Constructors

    PauseToggledSignal(bool)

    Creates a new PauseToggledSignal.

    Declaration
    public PauseToggledSignal(bool isPaused)
    Parameters
    Type Name Description
    bool isPaused

    Whether the game is now paused.

    Fields

    IsPaused

    Whether the game is now paused.

    Declaration
    public readonly bool IsPaused
    Field Value
    Type Description
    bool

    Methods

    ToString()

    Returns a string representation of the signal.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    In this article
    © 2026 Serenity. All Rights Reserved