Class UnityGameModeSignalConfiguration
Serializable mapping between a GameMode value and the ordered lists of EventDispatcherSignal instances dispatched when that mode is entered and exited.
Inherited Members
Namespace: Serenity.GameMode.Installation.Settings
Assembly: Serenity.UnityGameMode.Installation.dll
Syntax
public class UnityGameModeSignalConfiguration
Remarks
The signals list uses [SerializeReference] so concrete subclasses of
EventDispatcherSignal can be selected per entry in the inspector.
Constructors
UnityGameModeSignalConfiguration()
Declaration
public UnityGameModeSignalConfiguration()
Fields
ExitSignals
Declaration
public List<EventDispatcherSignal> ExitSignals
Field Value
| Type | Description |
|---|---|
| List<EventDispatcherSignal> | Signals dispatched, in order, when Mode is exited. |
Mode
Declaration
public GameMode Mode
Field Value
| Type | Description |
|---|---|
| GameMode | The game mode that owns this signal configuration. |
Signals
Declaration
public List<EventDispatcherSignal> Signals
Field Value
| Type | Description |
|---|---|
| List<EventDispatcherSignal> | Signals dispatched, in order, when Mode is entered. |