RunOptionsAsync(DialogueOption[],CancellationToken)
Method in LineAdvancer
Summary
Called by a dialogue presenter to signal that options are running.
public override YarnTask<DialogueOption?> RunOptionsAsync(DialogueOption[] dialogueOptions, CancellationToken cancellationToken)
Parameters
Name
Description
Yarn.Unity.DialogueOption[] dialogueOptions
The set of options that should be displayed to the user.
CancellationToken
cancellationToken
A System.Threading.CancellationToken
that becomes cancelled when the dialogue runner no longer needs this dialogue presenter to return an option.
Returns
A completed task indicating that no option was selected by this view.
Last updated
Was this helpful?