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

Dialogue.GetTagsForNode Method

Returns the tags for the node ‘nodeName’.

public IEnumerable<string> GetTagsForNode(string nodeName)

Remarks

The tags for a node are defined by setting the tags header in the node’s source code. This header must be a space-separated list.

Parameters

Parameter Description
string nodeName The name of the node.

Return Type

String}: The node’s tags, or null if the node is not present in the Program.

Source

Defined in YarnSpinner/Dialogue.cs, line 749.