VoiceOverPresenter.RunLineAsync(LocalizedLine,LineCancellationToken)
Method in VoiceOverPresenter
Summary
Begins playing the associated audio for the specified line.
public override async YarnTask RunLineAsync(LocalizedLine dialogueLine, LineCancellationToken lineCancellationToken)Remarks
> [!WARNING] > > This method is not intended to be called from > your code. Instead, the DialogueRunner class will call > it at the appropriate time.
Parameters
| Name | Description |
|---|---|
| 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 |
See Also
- DialoguePresenterBase.RunLineAsync(LocalizedLine,LineCancellationToken): Called by the DialogueRunner to signal that a line should be displayed to the user.