LineAdvancer

Class in Yarn.Unity

Inherits from AsyncDialogueViewBase

Summary

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.

public class LineAdvancer : AsyncDialogueViewBase

Enums

Name
Description

The type of input that this line advancer responds to.

Fields

Name
Description

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.

Methods

Name
Description

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.

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.