RunLineAsync(LocalizedLine,LineCancellationToken)
Last updated
Was this helpful?
Method in VoiceOverPresenter
Begins playing the associated audio for the specified line.
public override async YarnTask RunLineAsync(LocalizedLine dialogueLine, LineCancellationToken lineCancellationToken)This method is not intended to be called from your code. Instead, the DialogueRunner class will call it at the appropriate time.
line
The line to present.
token
A LineCancellationToken that represents whether the dialogue presenter should hurry it its presentation of the line, or stop showing the current line.
Yarn.Unity.LocalizedLine dialogueLine
Yarn.Unity.LineCancellationToken lineCancellationToken
DialoguePresenterBase.RunLineAsync(LocalizedLine,LineCancellationToken): Called by the DialogueRunner to signal that a line should be displayed to the user.
Last updated
Was this helpful?
Was this helpful?
