Deprecated by DialogueSystemTrigger. More...
Classes | |
class | Action |
The base class for actions that will run at the start or end of dialogue events. More... | |
Public Member Functions | |
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 | |
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.
This is the abstract base class for all dialogue event handler components (e.g., SetActiveOnDialogueEvent, StartConversationOnDialogueEvent, etc). Dialogue events occur when a bark, conversation, or sequence starts and ends. Subclasses implement TryStartActions() and TryEndActions().
|
inline |
Handles OnBarkEnd events.
actor | Actor that barked. |
|
inline |
Handles OnBarkStart events.
actor | Actor that barked. |
|
inline |
Handles OnConversationEnd events.
actor | Actor that initiated the conversation. |
|
inline |
Handles OnConversationStart events.
actor | Actor that initiated the conversation. |
|
inline |
Handles OnSequenceEnd events.
actor | The primary actor in the sequence. |
|
inline |
Handles OnSequenceStart events.
actor | The primary actor in the sequence. |
|
abstract |
Tries the actions that should run when the event ends (e.g., OnBarkEnd).
actor | Actor. |
|
abstract |
Tries the actions that should run when the event starts (e.g., OnBarkStart).
actor | Actor. |
bool PixelCrushers.DialogueSystem.ActOnDialogueEvent.once = false |
Set true
if this should only happen once.
DialogueDatabase PixelCrushers.DialogueSystem.ActOnDialogueEvent.selectedDatabase = null |
DialogueEvent PixelCrushers.DialogueSystem.ActOnDialogueEvent.trigger |
The dialogue event that triggers the actions.