Method in AsyncOptionsView
Called by a DialogueRunner to dismiss the options view when dialogue is complete.
A completed task.
Field in AsyncOptionsView
Controls whether or not to display options whose IsAvailable value is false
.
Method in AsyncOptionsView
Called by a DialogueRunner to set up the options view when dialogue begins.
A completed task.
Class in Yarn.Unity
Inherits from AsyncDialogueViewBase
Receives options from a DialogueRunner , and displays and manages a collection of AsyncOptionItem views for the user to choose from.
Controls whether or not to display options whose value is false
.
Called by a to dismiss the options view when dialogue is complete.
Called by a to set up the options view when dialogue begins.
Called by a when a line needs to be presented, and stores the line as the 'last seen line' so that it can be shown when options appear.
Called by a to display a collection of options to the user.
Method in AsyncOptionsView
Called by a DialogueRunner when a line needs to be presented, and stores the line as the 'last seen line' so that it can be shown when options appear.
This view does not display lines directly, but instead stores lines so that when options are run, the last line that ran before the options appeared can be shown.
line
The line to present.
token
A that represents whether the dialogue view should hurry it its presentation of the line, or stop showing the current line.
A completed task.
dialogueOptions
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.