Deprecated by DialogueSystemTrigger. More...
Classes | |
class | LuaAction |
The parameters for a Lua action. More... | |
Public Member Functions | |
override void | TryStartActions (Transform actor) |
override void | TryEndActions (Transform actor) |
void | DoAction (LuaAction action, Transform actor) |
Public Member Functions inherited from PixelCrushers.DialogueSystem.ActOnDialogueEvent | |
void | OnBarkStart (Transform actor) |
Handles OnBarkStart events. | |
void | OnBarkEnd (Transform actor) |
Handles OnBarkEnd events. | |
void | OnConversationStart (Transform actor) |
Handles OnConversationStart events. | |
void | OnConversationEnd (Transform actor) |
Handles OnConversationEnd events. | |
void | OnSequenceStart (Transform actor) |
Handles OnSequenceStart events. | |
void | OnSequenceEnd (Transform actor) |
Handles OnSequenceEnd events. | |
void | TryStartActions (Transform actor) |
Tries the actions that should run when the event starts (e.g., OnBarkStart). | |
void | TryEndActions (Transform actor) |
Tries the actions that should run when the event ends (e.g., OnBarkEnd). | |
Public Attributes | |
LuaAction[] | onStart = new LuaAction[0] |
Actions to take on the "start" event (e.g., OnConversationStart). | |
LuaAction[] | onEnd = new LuaAction[0] |
Actions to take on the "end" event (e.g., OnConversationEnd). | |
bool | debugLua |
If true , prints Lua debug information to the console. | |
Public Attributes inherited from PixelCrushers.DialogueSystem.ActOnDialogueEvent | |
DialogueEvent | trigger |
The dialogue event that triggers the actions. | |
bool | once = false |
Set true if this should only happen once. | |
DialogueDatabase | selectedDatabase = null |
Deprecated by DialogueSystemTrigger.
Runs Lua code at the start and/or end of a dialogue event.
|
inline |
|
inline |
|
inline |
bool PixelCrushers.DialogueSystem.LuaOnDialogueEvent.debugLua |
If true
, prints Lua debug information to the console.
Actions to take on the "end" event (e.g., OnConversationEnd).
Actions to take on the "start" event (e.g., OnConversationStart).