This component provides a bridge between ICode and the Dialogue System's Lua environment.
More...
|
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) |
|
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.
◆ 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:
- D:/Documents/Unity Projects/Dialogue System/Dev/Integration/RPG Kit Integration/Assets/Dialogue System/Third Party Support/ICode/Scripts/ICodeLuaFunctions.cs