TryGetNodeTitle(string?,YarnSpinnerParser.NodeContext,string?,string?,string?,string?)
Last updated
Was this helpful?
Last updated
Was this helpful?
Method in
Gets the title for a node as defined in the source code, along with its unique title (which may be different to the source title.)
string
sourceFileName
The name of the file in which the node is defined, or null
if not available.
Yarn.Compiler.YarnSpinnerParser.NodeContext
nodeContext
The parsed node's context.
string
sourceTitle
On return, contains the title of the node, as it appears in the source code.
string
uniqueTitle
On return, contains the unique title of the node, as stored in the output program.
string
subtitle
The sub-title of the node, if present. This value is always null
if the node is not in a node group.
string
nodeGroupName
The name of the node group the node is a member of, if any.
true
if the sourceTitle
and uniqueTitle
could be
determined; false
otherwise.