GameManager Class

MyDungeon

GameManager Class

GameManager stores the current game state that must be retained between scene transitions
Inheritance Hierarchy
SystemObject  MyDungeon.ManagersGameManager

Namespace:  MyDungeon.Managers
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static class GameManager

The GameManager type exposes the following members.

Methods
  NameDescription
Public methodStatic memberReset
Resets all GameManager properties to default values
Top
Fields
  NameDescription
Public fieldStatic memberFloor
The current dungeon floor
Public fieldStatic memberPaused
Whether the game is paused or not
Public fieldStatic memberPlayersTurn
Whether it is currently the player's turn or not
Public fieldStatic memberSaveLoaded
Whether a game save was loaded or not
Top
See Also