RunLineAsync(LocalizedLine,LineCancellationToken)

Method in DialogueCharacterNameView

Summary

Invokes the onNameUpdate or onNameNotPresent events, depending on the contents of line .

public override YarnTask RunLineAsync(LocalizedLine line, LineCancellationToken token)

Parameters

Name
Description

The line to present.

A LineCancellationToken that represents whether the dialogue view should hurry it its presentation of the line, or stop showing the current line.

Returns

A task that completes when the dialogue view has finished showing the line to the user.

Last updated

Was this helpful?