Class in Yarn.Unity
Inherits from System.Object
Stores a reference to a dialogue node in a Yarn Project.
A Dialogue Reference is a reference to a named node inside a given Yarn Project. This allows the editor to warn the user if node doesn't exist in the specified project.
Name | Description |
---|---|
Name | Description |
---|---|
Constructor in DialogueReference
Creates a dialogue reference with a given project and node name.
Name | Description |
---|---|
Name | Description |
---|---|
Creates an empty dialogue reference.
Creates a dialogue reference with a given project and node name.
The name of the dialogue node in the project.
The Yarn Project asset containing the dialogue node.
Gets a value indicating that this reference is valid - that is, the project and node name are set, and the node exists in the project.
Yarn.Unity.YarnProject project
Yarn Project asset containing the node.
string
nodeName
Name of the node in the project asset.
Property in DialogueReference
Gets a value indicating that this reference is valid - that is, the project and node name are set, and the node exists in the project.