LineAdvancer.RunLineAsync(LocalizedLine,LineCancellationToken)

Method in LineAdvancer

Summary

Called by a dialogue presenter to signal that a line is running.

public override YarnTask RunLineAsync(LocalizedLine line, LineCancellationToken token)

Parameters

NameDescription
Yarn.Unity.LocalizedLine lineThe line to present.
Yarn.Unity.LineCancellationToken tokenA LineCancellationToken that represents whether the dialogue presenter should hurry it its presentation of the line, or stop showing the current line.

Returns

A completed task.