![]() |
Makinom
2.21.0
API Documentation
|
The game handler is managing data related to a running game, e.g. variables, game time, language, ... More...
Public Member Functions | |
void | Clear (bool initVariables, bool clearVariables) |
void | Init () |
void | SetLanguageEditor () |
void | PauseGame (bool pause, bool setPauseTime, bool setFreezePause) |
void | FreezeTime (bool freeze) |
void | PauseTime (bool pause) |
string | GetTimeString () |
string | GetTimeString (float t) |
void | ResetTimeScale () |
void | ResetUnityTimeScale () |
float | GetUnscaledDeltaTime () |
void | NewGame (bool initVariables, bool fromGameStarter) |
void | StopGame (bool initVariables) |
virtual bool | ObjectVariablesExist (string id) |
virtual VariableHandler | GetObjectVariables (string id) |
virtual List< VariableHandler > | GetAllObjectVariables () |
virtual bool | ObjectSelectedDataExist (string id) |
virtual SelectedDataHandler | GetObjectSelectedData (string id) |
bool | HasGrid (string key) |
void | SetGrid (string key, GameObjectGrid grid) |
GameObjectGrid | GetGrid (string key) |
void | RemoveGrid (string key) |
void | SceneLoaded () |
void | LoadAllActiveScenes () |
void | SceneLoaded (string sceneName) |
void | Tick () |
DataObject | SaveGame () |
Used to save the data - you need to add the data to a GamingIsLove.Makinom.DataObject. More... | |
void | LoadGame (DataObject data) |
Used to load the data - you need to get the data from the GamingIsLove.Makinom.DataObject. More... | |
Properties | |
Notify | StartGameCalled |
Notify | StopGameCalled |
Notify | GamePaused |
Notify | GameUnpaused |
static GameHandler | Instance [get] |
bool | Running [get, set] |
Camera | Camera [get, set] |
Language | Language [get, set] |
int | AutoSaveSlot [get, set] |
bool? | SaveConfirmation [get, set] |
int | TextSpeed [get, set] |
bool | Paused [get] |
bool | TimePaused [get] |
float | GameTime [get, set] |
float? | TimeScale [get, set] |
float | UnityTimeScale [get, set] |
float | DeltaTime [get] |
VariableHandler | Variables [get] |
SelectedDataHandler | SelectedData [get] |
InteractionHandler | Interactions [get] |
PlayerHandler | Player [get] |
TimersHandler | Timers [get] |
SceneHandler | Scene [get] |
The game handler is managing data related to a running game, e.g. variables, game time, language, ...
void GamingIsLove.Makinom.GameHandler.LoadGame | ( | DataObject | data | ) |
Used to load the data - you need to get the data from the GamingIsLove.Makinom.DataObject.
data | A GamingIsLove.Makinom.DataObject containing the data. |
Implements GamingIsLove.Makinom.ISaveData.
DataObject GamingIsLove.Makinom.GameHandler.SaveGame | ( | ) |
Used to save the data - you need to add the data to a GamingIsLove.Makinom.DataObject.
Implements GamingIsLove.Makinom.ISaveData.