Yarn Namespace

Summary

Contains classes for working with compiled Yarn programs.

Classes

Name
Description

Contains the built-in types available in the Yarn language.

Co-ordinates the execution of Yarn programs.

An exception that is thrown by Dialogue when there is an error in executing a Program .

A type that represents functions.

A collection of functions that can be called from Yarn programs.

A simple concrete implementation of IVariableStorage that keeps all variables in memory.

A node of Yarn script, contained within a Program , and containing Yarn.Instruction s.

A compiled Yarn program.

Delegates

Name
Description

Represents the method that is called when the Dialogue delivers a Command .

Represents the method that is called when the dialogue has reached its end, and no more code remains to be run.

Represents the method that is called when the Dialogue delivers a Line .

Represents a method that receives diagnostic messages and error information from a Dialogue .

Represents the method that is called when the Dialogue reaches the end of a node.

Represents the method that is called when the Dialogue begins executing a node.

Represents the method that is called when the Dialogue delivers an OptionSet .

Represents the method that is called when the dialogue anticipates that it will deliver lines.

Interfaces

Name
Description

Defines properties that describe a type in the Yarn language.

Provides a mechanism for storing and retrieving instances of the Yarn.Value class.

Namespaces

Name
Description

Contains classes for compiling Yarn code.

Contains classes for working with markup in Yarn lines.

Contains classes for working with Yarn Spinner in the Unity game engine.

Structs

Name
Description

A command, sent from the Dialogue to the game.

A line of dialogue, sent from the Dialogue to the game.

A set of Option s, sent from the Dialogue to the game.

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.