Method in VoiceOverView
Interrupts the playback of the specified line, and quickly fades the playback to silent.
This method is not intended to be called from your code. Instead, the DialogueRunner class will call it at the appropriate time.
Name | Description |
---|---|
DialogueViewBase.InterruptLine(LocalizedLine,Action): Called by the DialogueRunner to signal that a line has been interrupted, and that the Dialogue View should finish presenting its line as quickly as possible.
Yarn.Unity.LocalizedLine dialogueLine
The current line that is being presented.
Action
onDialogueLineFinished
The method that should be called after the line has finished being presented.