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

When this method is called, the Dialogue Runner that has this Dialogue View in its Yarn.Unity.DialogueRunner.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.

Last updated

Was this helpful?