Yarn Spinner
2.2 (Current)
Search…
⌃K
Links

DialogueReference

Class in Yarn.Unity
Inherits from System.Object

Summary

Stores a reference to a dialogue node in a Yarn Project.
public class DialogueReference

Remarks

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.

Constructors

Name
Description
Creates an empty dialogue reference.
Creates a dialogue reference with a given project and node name.

Fields

Name
Description
nodeName
The name of the dialogue node in the project.
project
The Yarn Project asset containing the dialogue node.

Properties

Name
Description
IsValid
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.
Last modified 3mo ago