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

YarnConverterAttribute

Attribute that marks a command as being a converter for a type used in commands and functions.
public class YarnConverterAttribute : Attribute

Inherits from System.Attribute

Methods flagged with this attribute must:
  • be static
  • be public
  • return bool
  • have a string parameter
  • have an out parameter that matches the type of the attributes ConversionSupport type
For full details of see https://docs.yarnspinner.dev/yarn-spinner-for-unity/creating-commands-functions which covers the nuance of using converters in your actions.

#Properties

#ConversionSupport

public Type ConversionSupport { get; set; }

Type Type

Generated from Yarn Spinner for Unity 3.3.