Dialogue.Continue Method
Starts, or continues, execution of the current Program.
public void Continue()
Remarks
This method repeatedly executes instructions until one of the following conditions is encountered:
- The
lineHandler
,commandHandler
, ornodeCompleteHandler
returnPauseExecution
. - The
optionsHandler
is called. When this occurs, the Dialogue is waiting for the user to specify which of the options has been selected, andSetSelectedOption(Int32)
must be called beforeContinue()
is called again.) - The Program reaches its end. When this occurs,
SetNode(String)
must be called beforeContinue()
is called again. - An error occurs while executing the Program.
This method has no effect if it is called while the Dialogue
is currently in the process of executing instructions.
See Also
-
Dialogue.LineHandler
: Represents the method that is called when the Dialogue delivers aLine
. -
Dialogue.OptionsHandler
: Represents the method that is called when the Dialogue delivers anOptionSet
. -
Dialogue.CommandHandler
: Represents the method that is called when the Dialogue delivers aCommand
. -
Dialogue.NodeCompleteHandler
: Represents the method that is called when the Dialogue reaches the end of a node. -
Dialogue.DialogueCompleteHandler
: Represents the method that is called when the dialogue has reached its end, and no more code remains to be run. -
Dialogue.HandlerExecutionType
: Used as a return type by handlers (such as theDialogue.LineHandler
) to indicate whether aDialogue
should suspend execution, or continue executing, after it has called the handler.
Source
Defined in YarnSpinner/Dialogue.cs, line 642.