autoAdvance

Field in LineView

Summary

Controls whether this Line View will wait for user input before indicating that it has finished presenting a line.

public bool autoAdvance = false;

Remarks

If this value is true, the Line View will not report that it has finished presenting its lines. Instead, it will wait until the UserRequestedViewAdvancement() method is called.

The DialogueRunner will not proceed to the next piece of content (e.g. the next line, or the next options) until all Dialogue Views have reported that they have finished presenting their lines. If a LineView doesn't report that it's finished until it receives input, the DialogueRunner will end up pausing.

This is useful for games in which you want the player to be able to read lines of dialogue at their own pace, and give them control over when to advance to the next line.

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.