Unity and Flutter apps Home Page
Work to create apps for generating revenue
Loading...
Searching...
No Matches
Managers.GameManager Class Reference

Manager the overall game with a single instance GameManager Initialises the game on the start menu Manages the scene updates. More...

Inheritance diagram for Managers.GameManager:

Public Member Functions

void UpdateGameScene (GamePhase newPhase, int newLevel)
 Updates the scene based on the new gamephase and requested level Update.

Static Public Member Functions

static bool hasBootSceneRun ()
 Checks if the single instance has been created, if it has there will be a single instance of GameManager Already. This method ensures whatever scene you are on in edit if required the managers will be started and then the game intro.

Properties

static GameManager Singleton [get, set]

Detailed Description

Manager the overall game with a single instance GameManager Initialises the game on the start menu Manages the scene updates.

Game Initialisation

Member Function Documentation

◆ hasBootSceneRun()

bool Managers.GameManager.hasBootSceneRun ( )
static

Checks if the single instance has been created, if it has there will be a single instance of GameManager Already. This method ensures whatever scene you are on in edit if required the managers will be started and then the game intro.

Returns
bool

◆ UpdateGameScene()

void Managers.GameManager.UpdateGameScene ( GamePhase newPhase,
int newLevel )

Updates the scene based on the new gamephase and requested level Update.

Parameters
newPhase
newLevel
Exceptions
ArgumentOutOfRangeException

Property Documentation

◆ Singleton

GameManager Managers.GameManager.Singleton
staticgetset

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