Adventure Creator
1.79.1
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2022
|
Static Public Member Functions | |
static bool | IsDefinePresent () |
Checks if the 'PlayMakerIsPresent' preprocessor has been defined. More... | |
static bool | HasFSM (GameObject gameObject) |
Checks if a GameObject has a PlayMakerFSM component. More... | |
static void | CallEvent (GameObject linkedObject, string eventName, string fsmName) |
Calls a PlayMaker event on a specific FSM. More... | |
static void | CallEvent (GameObject linkedObject, string eventName) |
Calls a PlayMaker FSM event. More... | |
static int | GetInt (string _name, Variables _variables) |
Gets the value of a PlayMaker integer. More... | |
static bool | GetBool (string _name, Variables _variables) |
Gets the value of a PlayMaker boolean. More... | |
static string | GetString (string _name, Variables _variables) |
Gets the value of a PlayMaker string. More... | |
static float | GetFloat (string _name, Variables _variables) |
Gets the value of a PlayMaker float. More... | |
static Vector3 | GetVector3 (string _name, Variables _variables) |
Gets the value of a PlayMaker Vector3. More... | |
static GameObject | GetGameObject (string _name, Variables _variables) |
Gets the value of a PlayMaker GameObject. More... | |
static Object | GetObject (string _name, Variables _variables) |
Gets the value of a PlayMaker Object. More... | |
static void | SetInt (string _name, int _val, Variables _variables) |
Sets the value of a PlayMaker integer. More... | |
static void | SetBool (string _name, bool _val, Variables _variables) |
Sets the value of a PlayMaker booleam. More... | |
static void | SetString (string _name, string _val, Variables _variables) |
Sets the value of a PlayMaker string. More... | |
static void | SetFloat (string _name, float _val, Variables _variables) |
Sets the value of a PlayMaker float. More... | |
static void | SetVector3 (string _name, Vector3 _val, Variables _variables) |
Sets the value of a PlayMaker Vector3. More... | |
static void | SetGameObject (string _name, GameObject _val, Variables _variables) |
Sets the value of a PlayMaker GameObject. More... | |
static void | SetObject (string _name, Object _val, Variables _variables) |
Sets the value of a PlayMaker Object. More... | |
A class the contains a number of static functions to assist with PlayMaker integration. To use PlayMaker with Adventure Creator, the 'PlayMakerIsPresent' preprocessor must be defined.
|
static |
Calls a PlayMaker FSM event.
linkedObject | The GameObject with the PlayMakerFSM component |
eventName | The name of the event to call |
|
static |
Calls a PlayMaker event on a specific FSM.
linkedObject | The GameObject with the PlayMakerFSM component |
eventName | The name of the event to call |
fsmNme | The name of the FSM to call |
|
static |
Gets the value of a PlayMaker boolean.
_name | The name of the PlayMaker boolean to search for |
_variables | The Variables component attached to the FSM, if local. If null, the variable is assumed to be global |
|
static |
Gets the value of a PlayMaker float.
_name | The name of the PlayMaker float to search for |
_variables | The Variables component attached to the FSM, if local. If null, the variable is assumed to be global |
|
static |
Gets the value of a PlayMaker GameObject.
_name | The name of the PlayMaker GameObject to search for |
_variables | The Variables component attached to the FSM, if local. If null, the variable is assumed to be global |
|
static |
Gets the value of a PlayMaker integer.
_name | The name of the PlayMaker integer to search for |
_variables | The Variables component attached to the FSM, if local. If null, the variable is assumed to be global |
|
static |
Gets the value of a PlayMaker Object.
_name | The name of the PlayMaker Object to search for |
_variables | The Variables component attached to the FSM, if local. If null, the variable is assumed to be global |
|
static |
Gets the value of a PlayMaker string.
_name | The name of the PlayMaker string to search for |
_variables | The Variables component attached to the FSM, if local. If null, the variable is assumed to be global |
|
static |
Gets the value of a PlayMaker Vector3.
_name | The name of the PlayMaker Vector3 to search for |
_variables | The Variables component attached to the FSM, if local. If null, the variable is assumed to be global |
|
static |
Checks if a GameObject has a PlayMakerFSM component.
gameObject | The GameObject to check |
|
static |
Checks if the 'PlayMakerIsPresent' preprocessor has been defined.
|
static |
Sets the value of a PlayMaker booleam.
_name | The name of the PlayMaker booleam to update |
_val | The new value to assign the PlayMaker boolean |
_variables | The Variables component attached to the FSM, if local. If null, the variable is assumed to be global |
|
static |
Sets the value of a PlayMaker float.
_name | The name of the PlayMaker float to update |
_val | The new value to assign the PlayMaker float |
_variables | The Variables component attached to the FSM, if local. If null, the variable is assumed to be global |
|
static |
Sets the value of a PlayMaker GameObject.
_name | The name of the PlayMaker GameObject to update |
_val | The new value to assign the PlayMaker GameObject |
_variables | The Variables component attached to the FSM, if local. If null, the variable is assumed to be global |
|
static |
Sets the value of a PlayMaker integer.
_name | The name of the PlayMaker integer to update |
_val | The new value to assign the PlayMaker integer |
_variables | The Variables component attached to the FSM, if local. If null, the variable is assumed to be global |
|
static |
Sets the value of a PlayMaker Object.
_name | The name of the PlayMaker Object to update |
_val | The new value to assign the PlayMaker Object |
_variables | The Variables component attached to the FSM, if local. If null, the variable is assumed to be global |
|
static |
Sets the value of a PlayMaker string.
_name | The name of the PlayMaker string to update |
_val | The new value to assign the PlayMaker string |
_variables | The Variables component attached to the FSM, if local. If null, the variable is assumed to be global |
|
static |
Sets the value of a PlayMaker Vector3.
_name | The name of the PlayMaker Vector3 to update |
_val | The new value to assign the PlayMaker Vector3 |
_variables | The Variables component attached to the FSM, if local. If null, the variable is assumed to be global |