Pardon our dust! Docs for Yarn Spinner for Unity 3.2 and Yarn Spinner for Godot C# are on docs.yarnspinner.dev (the old docs site). Docs for Yarn Spinner for Unity 3.3 (pre-release, out ASAP), Yarn Spinner for Godot GDScript and Yarn Spinner for Unreal Engine (work in progress) are on /docs/ (the new docs site).

YarnActionAttribute

Abstract basetype of the action based attributes. Used during action collection and analysis
public abstract class YarnActionAttribute : Attribute

Inherits from System.Attribute

#Properties

#Name

The name of the command or function, as it exists in Yarn.
public string? Name { get; set; }

Type String

This value does not have to be the same as the name of the method. For example, you could have a method named "`WalkToPoint`", and expose it to Yarn as a command named "`walk_to_point`".

Generated from Yarn Spinner for Unity 3.3.