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).

YarnCommandAttribute

An attribute that marks a method on an object as a command.
public class YarnCommandAttribute : YarnActionAttribute

Inherits from Yarn.Unity.YarnActionAttribute

This attribute is identified by a source generator and used to generate a file that performs the necessary action validation, registration, and parameter conversion for the command to be callable through your Yarn scripts. The specific behaviour of command changes drastically depending on the method signature. For full details of this see https://docs.yarnspinner.dev/yarn-spinner-for-unity/creating-commands-functions which covers this nuance.

Generated from Yarn Spinner for Unity 3.3.