This is the abstract base class for all dialogue event handler components (e.g., SetActiveOnDialogueEvent, StartConversationOnDialogueEvent, etc).
More...
|
class | Action |
| The base class for actions that will run at the start or end of dialogue events. More...
|
|
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().
◆ OnBarkEnd()
void PixelCrushers.DialogueSystem.ActOnDialogueEvent.OnBarkEnd |
( |
Transform |
actor | ) |
|
Handles OnBarkEnd events.
- Parameters
-
◆ OnBarkStart()
void PixelCrushers.DialogueSystem.ActOnDialogueEvent.OnBarkStart |
( |
Transform |
actor | ) |
|
Handles OnBarkStart events.
- Parameters
-
◆ OnConversationEnd()
void PixelCrushers.DialogueSystem.ActOnDialogueEvent.OnConversationEnd |
( |
Transform |
actor | ) |
|
Handles OnConversationEnd events.
- Parameters
-
actor | Actor that initiated the conversation. |
◆ OnConversationStart()
void PixelCrushers.DialogueSystem.ActOnDialogueEvent.OnConversationStart |
( |
Transform |
actor | ) |
|
Handles OnConversationStart events.
- Parameters
-
actor | Actor that initiated the conversation. |
◆ OnSequenceEnd()
void PixelCrushers.DialogueSystem.ActOnDialogueEvent.OnSequenceEnd |
( |
Transform |
actor | ) |
|
Handles OnSequenceEnd events.
- Parameters
-
actor | The primary actor in the sequence. |
◆ OnSequenceStart()
void PixelCrushers.DialogueSystem.ActOnDialogueEvent.OnSequenceStart |
( |
Transform |
actor | ) |
|
Handles OnSequenceStart events.
- Parameters
-
actor | The primary actor in the sequence. |
◆ TryEndActions()
abstract void PixelCrushers.DialogueSystem.ActOnDialogueEvent.TryEndActions |
( |
Transform |
actor | ) |
|
|
pure virtual |
Tries the actions that should run when the event ends (e.g., OnBarkEnd).
- Parameters
-
Implemented in PixelCrushers.DialogueSystem.BarkOnDialogueEvent, PixelCrushers.DialogueSystem.StartSequenceOnDialogueEvent, PixelCrushers.DialogueSystem.SetComponentEnabledOnDialogueEvent, PixelCrushers.DialogueSystem.SetEnabledOnDialogueEvent, PixelCrushers.DialogueSystem.LuaOnDialogueEvent, PixelCrushers.DialogueSystem.StartConversationOnDialogueEvent, PixelCrushers.DialogueSystem.SetQuestStateOnDialogueEvent, PixelCrushers.DialogueSystem.SetActiveOnDialogueEvent, PixelCrushers.DialogueSystem.SetAnimatorStateOnDialogueEvent, PixelCrushers.DialogueSystem.SendMessageOnDialogueEvent, and PixelCrushers.DialogueSystem.SetAnimationOnDialogueEvent.
◆ TryStartActions()
abstract void PixelCrushers.DialogueSystem.ActOnDialogueEvent.TryStartActions |
( |
Transform |
actor | ) |
|
|
pure virtual |
Tries the actions that should run when the event starts (e.g., OnBarkStart).
- Parameters
-
Implemented in PixelCrushers.DialogueSystem.BarkOnDialogueEvent, PixelCrushers.DialogueSystem.StartSequenceOnDialogueEvent, PixelCrushers.DialogueSystem.SetComponentEnabledOnDialogueEvent, PixelCrushers.DialogueSystem.SetEnabledOnDialogueEvent, PixelCrushers.DialogueSystem.LuaOnDialogueEvent, PixelCrushers.DialogueSystem.StartConversationOnDialogueEvent, PixelCrushers.DialogueSystem.SetQuestStateOnDialogueEvent, PixelCrushers.DialogueSystem.SetActiveOnDialogueEvent, PixelCrushers.DialogueSystem.SetAnimatorStateOnDialogueEvent, PixelCrushers.DialogueSystem.SendMessageOnDialogueEvent, and PixelCrushers.DialogueSystem.SetAnimationOnDialogueEvent.
◆ once
bool PixelCrushers.DialogueSystem.ActOnDialogueEvent.once = false |
Set true
if this should only happen once.
◆ selectedDatabase
DialogueDatabase PixelCrushers.DialogueSystem.ActOnDialogueEvent.selectedDatabase = null |
◆ trigger
DialogueEvent PixelCrushers.DialogueSystem.ActOnDialogueEvent.trigger |
The dialogue event that triggers the actions.
The documentation for this class was generated from the following file:
- D:/Documents/Unity Projects/Dialogue System/Dev/Source/Assets/Dialogue System/Scripts/Supplemental/Triggers/Handlers/ActOnDialogueEvent.cs