All pages
Powered by GitBook
1 of 1

Loading...

InterruptLine(LocalizedLine,Action)

Method in VoiceOverView

Summary

Interrupts the playback of the specified line, and quickly fades the playback to silent.

Remarks

This method is not intended to be called from your code. Instead, the class will call it at the appropriate time.

Parameters

Name
Description

See Also

  • : Called by the to signal that a line has been interrupted, and that the Dialogue View should finish presenting its line as quickly as possible.

public override void InterruptLine(LocalizedLine dialogueLine, Action onDialogueLineFinished)

Yarn.Unity.LocalizedLine dialogueLine

The current line that is being presented.

System.Action onDialogueLineFinished

The method that should be called after the line has finished being presented.

DialogueRunner
DialogueViewBase.InterruptLine(LocalizedLine,Action)
DialogueRunner