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

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.