Dialogue.SetNode Method

Prepares the Dialogue that the user intends to start running a node.

public void SetNode(string startNode = "Start")

Remarks

After this method is called, you call Continue() to start executing it.

Parameters

Parameter Description
string startNode The name of the node that will be run. The node have been loaded by calling SetProgram(Program) or AddProgram(Program).

Source

Defined in YarnSpinner/Dialogue.cs, line 592.