NodeCompleteHandler Delegate
Represents the method that is called when the Dialogue reaches the end of a node.
public delegate Dialogue.HandlerExecutionType NodeCompleteHandler(string completedNodeName);
Remarks
This method may be called multiple times over the course of code execution. A node being complete does not necessarily represent the end of the conversation.
Parameters
Parameter | Description |
---|---|
string completedNodeName |
The name of the node. |
Return Type
Dialogue.HandlerExecutionType
: Whether the Dialogue
should suspend
execution after this method has been called.
See Also
-
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. -
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.DialogueCompleteHandler
: Represents the method that is called when the dialogue has reached its end, and no more code remains to be run.
Source
Defined in YarnSpinner/Dialogue.cs, line 430.