Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Method in LineAdvancer
Requests that the dialogue runner to instruct all line views to dismiss their content, and then stops the dialogue.
Method in LineAdvancer
Called by a dialogue runner when dialogue ends to remove the input action handlers.
A completed task.
Field in LineAdvancer
If true
, repeatedly signalling that the line should be hurried up will cause the line advancer to request that the next line be shown.
LineAdvancer.advanceRequestsBeforeCancellingLine: The number of times that a 'hurry up' signal occurs before the line advancer requests that the next line be shown.
Field in LineAdvancer
The number of times that a 'hurry up' signal occurs before the line advancer requests that the next line be shown.
LineAdvancer.multiAdvanceIsCancel: If true
, repeatedly signalling that the line should be hurried up will cause the line advancer to request that the next line be shown.
Method in LineAdvancer
Called by a dialogue runner when dialogue starts to add input action handlers for advancing the line.
A completed task.
Method in LineAdvancer
Requests that the line be hurried up.
If this method has been called more times for a single line than Yarn.Unity.LineAdvancer.numberOfAdvancesThisLine
, this method requests that the dialogue runner proceed to the next line. Otherwise, it requests that the dialogue runner instruct all line views to hurry up their presentation of the current line.
Enumeration Member in InputMode
The line advancer responds to Input Actions from the Unity Input System .
Enumeration Member in InputMode
The line advancer responds to input from the legacy Input Manager .
Enumeration Member in InputMode
The line advancer does not respond to any input.
When a line advancer's Yarn.Unity.LineAdvancer.inputMode
is set to None , call the RequestLineHurryUp() , RequestNextLine() and RequestDialogueCancellation() methods directly from your code to control line advancement.
Class in Yarn.Unity
Inherits from AsyncDialogueViewBase
A dialogue view that listens for user input and sends requests to a DialogueRunner to advance the presentation of the current line, either by asking a dialogue runner to hurry up its delivery, advance to the next line, or cancel the entire dialogue session.
The type of input that this line advancer responds to.
The number of times that a 'hurry up' signal occurs before the line advancer requests that the next line be shown.
If true
, repeatedly signalling that the line should be hurried up will cause the line advancer to request that the next line be shown.
Called by a dialogue runner when dialogue ends to remove the input action handlers.
Called by a dialogue runner when dialogue starts to add input action handlers for advancing the line.
Requests that the dialogue runner to instruct all line views to dismiss their content, and then stops the dialogue.
Requests that the line be hurried up.
Requests that the dialogue runner proceeds to the next line.
Called by a dialogue view to signal that a line is running.
Called by a dialogue view to signal that options are running.
Enum in LineAdvancer
Inherits from System.Enum
The type of input that this line advancer responds to.
The line advancer responds to Input Actions from the .
The line advancer responds to keypresses on the keyboard.
The line advancer responds to input from the legacy .
The line advancer does not respond to any input.
Method in LineAdvancer
Called by a dialogue view to signal that a line is running.
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.