PixelCrushers.DialogueSystem.SetAnimatorStateOnDialogueEvent Class Reference

Deprecated by DialogueSystemTrigger. More...

Inheritance diagram for PixelCrushers.DialogueSystem.SetAnimatorStateOnDialogueEvent:
Collaboration diagram for PixelCrushers.DialogueSystem.SetAnimatorStateOnDialogueEvent:

Classes

class  SetAnimatorStateAction
 

Public Member Functions

override void TryStartActions (Transform actor)
 
override void TryEndActions (Transform actor)
 
void DoAction (SetAnimatorStateAction 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

SetAnimatorStateAction[] onStart = new SetAnimatorStateAction[0]
 Actions to take on the "start" event (e.g., OnConversationStart).
 
SetAnimatorStateAction[] onEnd = new SetAnimatorStateAction[0]
 Actions to take on the "end" event (e.g., OnConversationEnd).
 
- 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
 

Detailed Description

Deprecated by DialogueSystemTrigger.

Sets an animator state on dialogue events. You can use this to set a character to idle when a conversation starts, and back to gameplay state when it ends.

Member Function Documentation

◆ DoAction()

void PixelCrushers.DialogueSystem.SetAnimatorStateOnDialogueEvent.DoAction ( SetAnimatorStateAction  action,
Transform  actor 
)
inline

◆ TryEndActions()

override void PixelCrushers.DialogueSystem.SetAnimatorStateOnDialogueEvent.TryEndActions ( Transform  actor)
inline

◆ TryStartActions()

override void PixelCrushers.DialogueSystem.SetAnimatorStateOnDialogueEvent.TryStartActions ( Transform  actor)
inline

Member Data Documentation

◆ onEnd

SetAnimatorStateAction [] PixelCrushers.DialogueSystem.SetAnimatorStateOnDialogueEvent.onEnd = new SetAnimatorStateAction[0]

Actions to take on the "end" event (e.g., OnConversationEnd).

◆ onStart

SetAnimatorStateAction [] PixelCrushers.DialogueSystem.SetAnimatorStateOnDialogueEvent.onStart = new SetAnimatorStateAction[0]

Actions to take on the "start" event (e.g., OnConversationStart).


The documentation for this class was generated from the following file: