Dialogue

Class in Yarn

Inherits from System.Object

Summary

Co-ordinates the execution of Yarn programs.

public class Dialogue : IAttributeMarkerProcessor

Constructors

NameDescription

Fields

NameDescription

The node that execution will start from.

Methods

NameDescription

Starts, or continues, execution of the current Program.

Replaces all substitution markers in a text with the given substitution list.

Returns the string ID that contains the original, uncompiled source text for a node.

Returns the tags for the node nodeName .

Gets a value indicating whether a specified node exists in the Program.

Unloads all nodes from the Dialogue.

Properties

NameDescription

Gets the name of the node that this Dialogue is currently executing.

Gets a value indicating whether the Dialogue is currently executing Yarn instructions.

Invoked when the Dialogue needs to report debugging information.

Invoked when the Dialogue needs to report an error.

Gets the names of the nodes in the currently loaded Program.

Gets or sets the object that provides access to storing and retrieving the values of variables.

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.