This site is for Yarn Spinner v1, and won't be updated. Go to the current site.

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

Source

Defined in YarnSpinner/Dialogue.cs, line 430.