YarnNodeAttribute

Class in Yarn.Unity

Inherits from UnityEngine.PropertyAttribute

Summary

Specifies that a field represents a reference to a named Yarn node that exists in a Yarn project.

public class YarnNodeAttribute : PropertyAttribute

Remarks

This attribute causes the inspector to draw a popup that allows selecting a node from a list of all nodes available in a Yarn project.

This attribute may only be used with string fields.

Fields

NameDescription

The name of a property that specifies the YarnProject containing the desired node.

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