LinePresenter.RunLineAsync(LocalizedLine,LineCancellationToken)
Method in LinePresenter
Summary
Presents a line using the configured text view.
public override async YarnTask RunLineAsync(LocalizedLine line, LineCancellationToken token)Parameters
| Name | Description |
|---|---|
| Yarn.Unity.LocalizedLine line | The line to present. |
| Yarn.Unity.LineCancellationToken token | A LineCancellationToken that represents whether the dialogue presenter should hurry it its presentation of the line, or stop showing the current line. |
Returns
A task that completes when the dialogue presenter has finished showing the line to the user.