RunLineAsync(LocalizedLine,LineCancellationToken)
Method in VoiceOverView
Summary
Begins playing the associated audio for the specified line.
Remarks
This method is not intended to be called from your code. Instead, the DialogueRunner class will call it at the appropriate time.
Parameters
line
The line to present.
token
A LineCancellationToken that represents whether the dialogue view should hurry it its presentation of the line, or stop showing the current line.
Yarn.Unity.LocalizedLine dialogueLine
Yarn.Unity.LineCancellationToken lineCancellationToken
See Also
AsyncDialogueViewBase.RunLineAsync(LocalizedLine,LineCancellationToken): Called by the DialogueRunner to signal that a line should be displayed to the user.
Last updated