Utility functions for Dialogue System PlayMaker integration.
More...
|
static void | SendEventToAllFSMs (string eventName, string fsmName) |
| Sends an event to all GameObjects in the scene.
|
|
static void | SendEventToFSMs (Transform subject, string eventName, string fsmName) |
| Sends an event to a GameObject.
|
|
static PlayMakerFSM | GetFSM (GameObject subject, string fsmName) |
|
static float | GetFsmFloat (string name) |
|
static int | GetFsmInt (string name) |
|
static bool | GetFsmBool (string name) |
|
static string | GetFsmString (string name) |
|
static void | SetFsmFloat (string name, float value) |
|
static void | SetFsmInt (string name, int value) |
|
static void | SetFsmBool (string name, bool value) |
|
static void | SetFsmString (string name, string value) |
|
static Vector3 | StringToVector3 (string s) |
|
static string | Vector3ToString (Vector3 v) |
|
static Quaternion | StringToQuaternion (string s) |
|
static string | QuaternionToString (Quaternion q) |
|
static GameObject | StringToGameObject (string s, bool searchSceneObjects=true, bool searchPrefabs=false) |
|
static object[] | StringToArray (string s, VariableType variableType, bool searchSceneObjects=true, bool searchPrefabs=false) |
|
static string | ArrayToString (object[] values) |
|
static GameObject | FindOrLoadGameObject (string gameObjectName, bool searchSceneObjects, bool searchPrefabs) |
|
Utility functions for Dialogue System PlayMaker integration.
◆ ArrayToString()
static string PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.ArrayToString |
( |
object[] |
values | ) |
|
|
inlinestatic |
◆ FindOrLoadGameObject()
static GameObject PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.FindOrLoadGameObject |
( |
string |
gameObjectName, |
|
|
bool |
searchSceneObjects, |
|
|
bool |
searchPrefabs |
|
) |
| |
|
inlinestatic |
◆ GetFSM()
static PlayMakerFSM PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.GetFSM |
( |
GameObject |
subject, |
|
|
string |
fsmName |
|
) |
| |
|
inlinestatic |
◆ GetFsmBool()
static bool PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.GetFsmBool |
( |
string |
name | ) |
|
|
inlinestatic |
◆ GetFsmFloat()
static float PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.GetFsmFloat |
( |
string |
name | ) |
|
|
inlinestatic |
◆ GetFsmInt()
static int PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.GetFsmInt |
( |
string |
name | ) |
|
|
inlinestatic |
◆ GetFsmString()
static string PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.GetFsmString |
( |
string |
name | ) |
|
|
inlinestatic |
◆ QuaternionToString()
static string PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.QuaternionToString |
( |
Quaternion |
q | ) |
|
|
inlinestatic |
◆ SendEventToAllFSMs()
static void PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.SendEventToAllFSMs |
( |
string |
eventName, |
|
|
string |
fsmName |
|
) |
| |
|
inlinestatic |
Sends an event to all GameObjects in the scene.
- Parameters
-
eventName | The event to send. |
fsmName | If not empty, the FSM to receive the event. Otherwise all FSMs receive it. |
◆ SendEventToFSMs()
static void PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.SendEventToFSMs |
( |
Transform |
subject, |
|
|
string |
eventName, |
|
|
string |
fsmName |
|
) |
| |
|
inlinestatic |
Sends an event to a GameObject.
- Parameters
-
subject | The |
eventName | The event to send. |
fsmName | If not empty, the FSM to receive the event. Otherwise all FSMs receive it. |
◆ SetFsmBool()
static void PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.SetFsmBool |
( |
string |
name, |
|
|
bool |
value |
|
) |
| |
|
inlinestatic |
◆ SetFsmFloat()
static void PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.SetFsmFloat |
( |
string |
name, |
|
|
float |
value |
|
) |
| |
|
inlinestatic |
◆ SetFsmInt()
static void PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.SetFsmInt |
( |
string |
name, |
|
|
int |
value |
|
) |
| |
|
inlinestatic |
◆ SetFsmString()
static void PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.SetFsmString |
( |
string |
name, |
|
|
string |
value |
|
) |
| |
|
inlinestatic |
◆ StringToArray()
static object[] PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.StringToArray |
( |
string |
s, |
|
|
VariableType |
variableType, |
|
|
bool |
searchSceneObjects = true , |
|
|
bool |
searchPrefabs = false |
|
) |
| |
|
inlinestatic |
◆ StringToGameObject()
static GameObject PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.StringToGameObject |
( |
string |
s, |
|
|
bool |
searchSceneObjects = true , |
|
|
bool |
searchPrefabs = false |
|
) |
| |
|
inlinestatic |
◆ StringToQuaternion()
static Quaternion PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.StringToQuaternion |
( |
string |
s | ) |
|
|
inlinestatic |
◆ StringToVector3()
static Vector3 PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.StringToVector3 |
( |
string |
s | ) |
|
|
inlinestatic |
◆ Vector3ToString()
static string PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.Vector3ToString |
( |
Vector3 |
v | ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file:
- C:/Dev/Dialogue System/Dev/Integration2/PlayMaker Integration/Assets/Pixel Crushers/Dialogue System/Third Party Support/PlayMaker Support/Scripts/DialogueSystemPlayMakerTools.cs