Dialogue.GetStringIDForNode Method
Returns the string ID that contains the original, uncompiled source text for a node.
public string GetStringIDForNode(string nodeName)
Remarks
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.
Parameters
Parameter | Description |
---|---|
string nodeName |
The name of the node. |
Return Type
string
: The string ID.
Source
Defined in YarnSpinner/Dialogue.cs, line 720.