Class PauseToggledSignal
Signal dispatched when pause is toggled.
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 |