GetLocalizedLineAsync(Line,CancellationToken)
PreviousDeregisterMarkerProcessor(string)NextPrepareForLinesAsync(IEnumerable<string>,CancellationToken)
Last updated
Was this helpful?
Method in ILineProvider
Prepares and returns a LocalizedLine from the specified Line .
public YarnTask<LocalizedLine> GetLocalizedLineAsync(Line line, CancellationToken cancellationToken);Yarn.Line line
The Line to produce the LocalizedLine from.
CancellationToken cancellationToken
A cancellation token that indicates whether the process of fetching the localised version of line should be cancelled.
A localized line, ready to be presented to the player.
Last updated
Was this helpful?
Was this helpful?
