Dialogue.SetNode Method

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

public void SetNode(string startNode = "Start")


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


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).


Defined in YarnSpinner/Dialogue.cs, line 592.