YarnProject

Class in Yarn.Unity

Inherits from UnityEngine.ScriptableObject

Summary

public class YarnProject : ScriptableObject

Fields

NameDescription

The names of assemblies that ActionManager should look for commands and functions in when this project is loaded into a DialogueRunner .

Methods

NameDescription

Gets the headers for the requested node.

Returns a list of all line and option IDs within the requested nodes

Properties

NameDescription

The default values of all declared or inferred variables in the Program . Organised by their name as written in the yarn files.

The names of all nodes contained within the Program .

Gets the Yarn Program stored in this project.

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