requestInterrupt

Field in DialogueViewBase

Summary

Represents the method that should be called when this view wants the line to be interrupted.

public Action requestInterrupt;

Remarks

This value is set by the DialogueRunner class during initial setup. Do not modify this value yourself.

When this method is called, the Dialogue Runner that has this Dialogue View in its dialogueViews list will call InterruptLine(LocalizedLine,Action) on any view that has not yet finished presenting its line.

A Dialogue View can call this method to signal to the Dialogue Runner that the current line should be interrupted. This is usually done when it receives some input that the user wants to skip to the next line of dialogue.

Yarn Spinner® and Secret Lab® are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.