PixelCrushers.DialogueSystem.ICode.ICodeLuaFunctions Class Reference

This component provides a bridge between ICode and the Dialogue System's Lua environment. More...

Inheritance diagram for PixelCrushers.DialogueSystem.ICode.ICodeLuaFunctions:
Collaboration diagram for PixelCrushers.DialogueSystem.ICode.ICodeLuaFunctions:

Static Public Member Functions

static bool GetStateBool (string objectName, string variableName)
 
static int GetStateInt (string objectName, string variableName)
 
static float GetStateFloat (string objectName, string variableName)
 
static string GetStateObject (string objectName, string variableName)
 
static void SetStateParameter (string objectName, string variableName, object value, string typeName)
 
static void SetStateBool (string objectName, string variableName, bool value)
 
static void SetStateInt (string objectName, string variableName, int value)
 
static void SetStateFloat (string objectName, string variableName, float value)
 
static void SetStateObject (string objectName, string variableName, string objectValueName)
 

Detailed Description

This component provides a bridge between ICode and the Dialogue System's Lua environment.

It provides utility methods for getting and setting state machine parameters, and registers those methods with Lua. This was formerly called AiForMecanimLuaFunctions.

Member Function Documentation

◆ GetStateBool()

static bool PixelCrushers.DialogueSystem.ICode.ICodeLuaFunctions.GetStateBool ( string  objectName,
string  variableName 
)
static

◆ GetStateFloat()

static float PixelCrushers.DialogueSystem.ICode.ICodeLuaFunctions.GetStateFloat ( string  objectName,
string  variableName 
)
static

◆ GetStateInt()

static int PixelCrushers.DialogueSystem.ICode.ICodeLuaFunctions.GetStateInt ( string  objectName,
string  variableName 
)
static

◆ GetStateObject()

static string PixelCrushers.DialogueSystem.ICode.ICodeLuaFunctions.GetStateObject ( string  objectName,
string  variableName 
)
static

◆ SetStateBool()

static void PixelCrushers.DialogueSystem.ICode.ICodeLuaFunctions.SetStateBool ( string  objectName,
string  variableName,
bool  value 
)
static

◆ SetStateFloat()

static void PixelCrushers.DialogueSystem.ICode.ICodeLuaFunctions.SetStateFloat ( string  objectName,
string  variableName,
float  value 
)
static

◆ SetStateInt()

static void PixelCrushers.DialogueSystem.ICode.ICodeLuaFunctions.SetStateInt ( string  objectName,
string  variableName,
int  value 
)
static

◆ SetStateObject()

static void PixelCrushers.DialogueSystem.ICode.ICodeLuaFunctions.SetStateObject ( string  objectName,
string  variableName,
string  objectValueName 
)
static

◆ SetStateParameter()

static void PixelCrushers.DialogueSystem.ICode.ICodeLuaFunctions.SetStateParameter ( string  objectName,
string  variableName,
object  value,
string  typeName 
)
static

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