Method in Dialogue


Returns the string ID that contains the original, uncompiled source text for a node.

public string GetStringIDForNode(string nodeName)


A node's source text will only be present in the string table if its tags header contains rawText.

Because the Dialogue class is designed to be unaware of the contents of the string table, this method does not test to see if the string table contains an entry with the line ID. You will need to test for that yourself.



string nodeName

The name of the node.


The string ID.

Yarn Spinner® and Secret Lab® are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.