Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 940 Bytes

yarn.dialogue.setnode.md

File metadata and controls

33 lines (22 loc) · 940 Bytes

Dialogue.SetNode(string)

Method in Dialogue

Summary

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

public void SetNode(string startNode = DefaultStartNodeName)

Remarks

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

If PrepareForLinesHandler has been set, it may be called when this method is invoked, as the Dialogue determines which lines may be delivered during the startNode node's execution.

Parameters

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