Yarn.Unity Namespace

Summary

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

Classes

NameDescription

Provides access to all Culture s supported by Yarn Spinner.

A subclass of DialogueViewBase that displays character names.

The DialogueRunner component acts as the interface between your game and Yarn Spinner.

A MonoBehaviour that can present the data of a dialogue executed by a DialogueRunner to the user. The DialogueRunner uses subclasses of this type to relay information to and from the user, and to pause and resume the execution of the YarnScript .

Provides methods for finding voice over AudioClip s in the project matching a Yarn linetag/string ID and a language ID.

A simple implementation of VariableStorageBehaviour.

A MonoBehaviour that produces LocalizedLine s.

Represents a line, ready to be presented to the user in the localisation they have specified.

Detects if the render pipeline is different from the one the samples were created with, and warn you that things might look odd.

An IDictionary<TKey,TValue> that can be serialized as part of a Unity object.

A MonoBehaviour that a DialogueRunner uses to store and retrieve variables.

Handles playback of voice over AudioClip s referenced on YarnScript s.

An attribute that marks a method on an object as a command.

Marks the method as a function to be registered with the running instance's library.

Shows Yarn lines on Canvas Text components.

Yarn parameter.

Inject state for any commands in this class using this static method.

Enums

NameDescription

The presentation status of a LocalizedLine .

Structs

NameDescription

Holds information about a language.

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.