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

Dialogue.NodeExists Method

Gets a value indicating whether a specified node exists in the Program.

public bool NodeExists(string nodeName)

Parameters

Parameter Description
string nodeName The name of the node.

Return Type

bool: true if a node named nodeName exists in the Program, false otherwise.

Source

Defined in YarnSpinner/Dialogue.cs, line 790.