Adventure Creator
1.81.2
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2024
|
Static Public Member Functions | |
static List< GVar > | GetAllVars () |
Returns a list of all global variables. More... | |
static void | BackupAll () |
static void | UploadAll () |
static void | DownloadAll () |
static GVar | GetVariable (int _id, bool synchronise=false) |
Returns a global variable. More... | |
static GVar | GetVariable (string _name, bool synchronise=false) |
Returns a global variable. More... | |
static int | GetIntegerValue (int _id, bool synchronise=true) |
Returns the value of a global Integer variable. More... | |
static bool | GetBooleanValue (int _id, bool synchronise=true) |
Returns the value of a global Boolean variable. More... | |
static string | GetStringValue (int _id, bool synchronise=true, int languageNumber=0) |
Returns the value of a global String variable. More... | |
static float | GetFloatValue (int _id, bool synchronise=true) |
Returns the value of a global Float variable. More... | |
static Vector3 | GetVector3Value (int _id, bool synchronise=true) |
Returns the value of a global Vector3 variable. More... | |
static string | GetPopupValue (int _id, bool synchronise=true, int languageNumber=0) |
Returns the value of a global Popup variable. More... | |
static void | SetIntegerValue (int _id, int _value, bool synchronise=true) |
Sets the value of a global Integer variable. More... | |
static void | SetBooleanValue (int _id, bool _value, bool synchronise=true) |
Sets the value of a global Boolean variable. More... | |
static void | SetStringValue (int _id, string _value, bool synchronise=true) |
Sets the value of a global String variable. More... | |
static void | SetFloatValue (int _id, float _value, bool synchronise=true) |
Sets the value of a global Float variable. More... | |
static void | SetVector3Value (int _id, Vector3 _value, bool synchronise=true) |
Sets the value of a global Vector3 variable. More... | |
static void | SetPopupValue (int _id, int _value, bool synchronise=true) |
Sets the value of a global PopUp variable. More... | |
A class that can manipulate and retrieve the game's Global Variables at runtime.
|
static |
Backs up the values of all global variables. Necessary when skipping ActionLists that involve checking variable values.
|
static |
Downloads the values of all linked variables from their linked counterparts.
|
static |
Returns a list of all global variables.
|
static |
Returns the value of a global Boolean variable.
_id | The ID number of the variable |
synchronise | If True, then the variable's value will be synchronised with any external link it may have. |
|
static |
Returns the value of a global Float variable.
_id | The ID number of the variable |
synchronise | If True, then the variable's value will be synchronised with any external link it may have. |
|
static |
Returns the value of a global Integer variable.
_id | The ID number of the variable |
synchronise | If True, then the variable's value will be synchronised with any external link it may have. |
|
static |
Returns the value of a global Popup variable.
_id | The ID number of the variable |
synchronise | If True, then the variable's value will be synchronised with any external link it may have. |
languageNumber | The index number of the game's current language |
|
static |
Returns the value of a global String variable.
_id | The ID number of the variable |
synchronise | If True, then the variable's value will be synchronised with any external link it may have. |
languageNumber | The index number of the game's current language |
|
static |
Returns a global variable.
_id | The ID number of the variable |
synchronise | If True, then the variable's value will be synchronised with any external link it may have. |
|
static |
Returns a global variable.
_name | The name of the variable |
synchronise | If True, then the variable's value will be synchronised with any external link it may have. |
|
static |
Returns the value of a global Vector3 variable.
_id | The ID number of the variable |
synchronise | If True, then the variable's value will be synchronised with any external link it may have. |
|
static |
Sets the value of a global Boolean variable.
_id | The ID number of the variable |
_value | The new bool value of the variable |
synchronise | If True, then the variable's value will be synchronised with any external link it may have. |
|
static |
Sets the value of a global Float variable.
_id | The ID number of the variable |
_value | The new float value of the variable |
synchronise | If True, then the variable's value will be synchronised with any external link it may have. |
|
static |
Sets the value of a global Integer variable.
_id | The ID number of the variable |
_value | The new integer value of the variable |
synchronise | If True, then the variable's value will be synchronised with any external link it may have. |
|
static |
Sets the value of a global PopUp variable.
_id | The ID number of the variable |
_value | The new index value of the variable |
synchronise | If True, then the variable's value will be synchronised with any external link it may have. |
|
static |
Sets the value of a global String variable.
_id | The ID number of the variable |
_value | The new string value of the variable |
synchronise | If True, then the variable's value will be synchronised with any external link it may have. |
|
static |
Sets the value of a global Vector3 variable.
_id | The ID number of the variable |
_value | The new float value of the variable |
synchronise | If True, then the variable's value will be synchronised with any external link it may have. |
|
static |
Uploads the values all linked variables to their linked counterparts.