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

NameDescription

Creates an empty dialogue reference.

Creates a dialogue reference with a given project and node name.

Fields

NameDescription

The name of the dialogue node in the project.

The Yarn Project asset containing the dialogue node.

Properties

NameDescription

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 updated

Yarn Spinner® and Secret Lab® are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.