CardRPG 1.0
 
Loading...
Searching...
No Matches
CardRPG.PauseManager Class Reference

A PauseManager is a MonoBehaviour that manages the pause functionality in the game. More...

Inheritance diagram for CardRPG.PauseManager:

Public Member Functions

void TogglePause ()
 Pauses the game if it is not already paused.
 
void Resume ()
 Resumes the game if it is currently paused.
 
void QuitGame ()
 Quits the game and returns to the title screen.
 
void QuitToDesktop ()
 Quits the game and returns to the desktop.
 

Static Public Attributes

static PauseManager Instance
 

Properties

static bool IsPaused = false [get]
 Whether the game is currently paused or not.
 
bool CanPause = false [get, set]
 Flag to determine if the game can be paused.
 

Detailed Description

A PauseManager is a MonoBehaviour that manages the pause functionality in the game.


The documentation for this class was generated from the following file: