This component sends Dialogue System events to PlayMaker FSMs. More...
Classes | |
class | EventData |
Public Member Functions | |
void | SendEvent (string fsmEventName) |
Sends an event to the FSMs. More... | |
void | OnRecordPersistentData () |
Sent when the Dialogue System is recording persistent data into the Lua environment, usually when saving a game or before changing levels. More... | |
void | OnApplyPersistentData () |
Sent when the Dialogue System is applying persistent data to the scene from the Lua environment, usually when loading a game or after changing levels. More... | |
void | OnLevelWillBeUnloaded () |
Sent prior to unloading a level, usually before changing levels. More... | |
Public Attributes | |
PlayMakerFSM[] | FSMs |
The FSMs that will receive Dialogue System events. More... | |
EventData | eventData = new EventData() |
bool | debug = false |
This component sends Dialogue System events to PlayMaker FSMs.
Generally you will add this component to the Dialogue Manager or an actor such as the player object. See the user manual section Script Overview > Notification Messages for information about Dialogue System events.
void PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemEventsToPlayMaker.OnApplyPersistentData | ( | ) |
Sent when the Dialogue System is applying persistent data to the scene from the Lua environment, usually when loading a game or after changing levels.
void PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemEventsToPlayMaker.OnLevelWillBeUnloaded | ( | ) |
Sent prior to unloading a level, usually before changing levels.
void PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemEventsToPlayMaker.OnRecordPersistentData | ( | ) |
Sent when the Dialogue System is recording persistent data into the Lua environment, usually when saving a game or before changing levels.
void PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemEventsToPlayMaker.SendEvent | ( | string | fsmEventName | ) |
Sends an event to the FSMs.
fsmEventName | FSM event name. |
bool PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemEventsToPlayMaker.debug = false |
EventData PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemEventsToPlayMaker.eventData = new EventData() |
PlayMakerFSM [] PixelCrushers.DialogueSystem.PlayMaker.DialogueSystemEventsToPlayMaker.FSMs |
The FSMs that will receive Dialogue System events.