Library

Class in Yarn

Inherits from System.Object

Summary

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

public class Library

Remarks

You do not create instances of this class yourself. The Dialogue class creates one of its own, which you can access via the Library property.

Methods

NameDescription

Removes a function from the Library.

Gets a value indicating whether this Library contains a function named name .

Returns a System.Delegate with a given name.

Loads functions from another Library .

Registers a new function that returns a value, which can be called from a Yarn program.

Registers a new function that returns a value, which can be called from a Yarn program.

Registers a new function that returns a value, which can be called from a Yarn program.

Registers a new function that returns a value, which can be called from a Yarn program.

Registers a new function that returns a value, which can be called from a Yarn program.

Registers a new function that returns a value, which can be called from a Yarn program.

Registers a new function that returns a value, which can be called from a Yarn program.

See Also

  • Dialogue: Co-ordinates the execution of Yarn programs.

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.