PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools Class Reference

Utility functions for Dialogue System PlayMaker integration. More...

Static Public Member Functions

static void SendEventToAllFSMs (string eventName, string fsmName)
 Sends an event to all GameObjects in the scene. More...
 
static void SendEventToFSMs (Transform subject, string eventName, string fsmName)
 Sends an event to a GameObject. More...
 
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)
 
static object[] StringToArray (string s, VariableType variableType)
 
static string ArrayToString (object[] values)
 

Detailed Description

Utility functions for Dialogue System PlayMaker integration.

Member Function Documentation

◆ ArrayToString()

static string PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.ArrayToString ( object[]  values)
static

◆ GetFSM()

static PlayMakerFSM PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.GetFSM ( GameObject  subject,
string  fsmName 
)
static

◆ GetFsmBool()

static bool PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.GetFsmBool ( string  name)
static

◆ GetFsmFloat()

static float PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.GetFsmFloat ( string  name)
static

◆ GetFsmInt()

static int PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.GetFsmInt ( string  name)
static

◆ GetFsmString()

static string PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.GetFsmString ( string  name)
static

◆ QuaternionToString()

static string PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.QuaternionToString ( Quaternion  q)
static

◆ SendEventToAllFSMs()

static void PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.SendEventToAllFSMs ( string  eventName,
string  fsmName 
)
static

Sends an event to all GameObjects in the scene.

Parameters
eventNameThe event to send.
fsmNameIf 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 
)
static

Sends an event to a GameObject.

Parameters
subjectThe
eventNameThe event to send.
fsmNameIf 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 
)
static

◆ SetFsmFloat()

static void PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.SetFsmFloat ( string  name,
float  value 
)
static

◆ SetFsmInt()

static void PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.SetFsmInt ( string  name,
int  value 
)
static

◆ SetFsmString()

static void PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.SetFsmString ( string  name,
string  value 
)
static

◆ StringToArray()

static object [] PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.StringToArray ( string  s,
VariableType  variableType 
)
static

◆ StringToGameObject()

static GameObject PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.StringToGameObject ( string  s)
static

◆ StringToQuaternion()

static Quaternion PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.StringToQuaternion ( string  s)
static

◆ StringToVector3()

static Vector3 PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.StringToVector3 ( string  s)
static

◆ Vector3ToString()

static string PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemPlayMakerTools.Vector3ToString ( Vector3  v)
static

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