YarnProject

Class in Yarn.Unity

Inherits from UnityEngine.ScriptableObject

Summary

public class YarnProject : ScriptableObject

Fields

Name
Description

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

Methods

Name
Description

Gets the headers for the requested node.

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

Properties

Name
Description

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.

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.