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

StringInfo Struct

Information about a string. Stored inside a string table, which is produced from the Compiler.

public struct StringInfo

Remarks

You do not create instances of this class yourself. They are generated by the Compiler.

Fields

Name Description
fileName The name of the file this string was found in.
isImplicitTag Indicates whether this string’s line ID was implicitly generated.
lineNumber The line number at which this string was found in the file.
metadata The metadata (i.e. hashtags) associated with this string.
nodeName The name of the node that this string was found in.
text The original text of the string.

Source

Defined in YarnSpinner.Compiler/Compiler.cs, line 35.