RunOptionsAsync(DialogueOption[],CancellationToken)

Method in DialogueCharacterNameView

Summary

Takes no action; this dialogue view does not handle options.

public override YarnTask<DialogueOption?> RunOptionsAsync(DialogueOption[] dialogueOptions, CancellationToken cancellationToken)

Parameters

Name
Description

line

The line to present.

token

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

CancellationToken cancellationToken

Returns

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

Last updated

Yarn Spinnerยฎ and Secret Labยฎ are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.