RunOptionsAsync(DialogueOption[],CancellationToken)

Method in LineAdvancer

Summary

Called by a dialogue view to signal that options are running.

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

Parameters

Name
Description

The set of options that should be displayed to the user.

System.Threading.CancellationToken cancellationToken

A System.Threading.CancellationToken that becomes cancelled when the dialogue runner no longer needs this dialogue view to return an option.

Returns

A completed task indicating that no option was selected by this view.

Last updated

Was this helpful?