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

YarnConverter

Represents the concept of a yarn converter method, what type it supports and how to call it.
(no declaration available)

Inherits from System.Object

Implements System.IEquatable{Yarn.Shared.YarnConverter}

Because all converters have a fixed structure don't need to know the parameter names or types as these can be trivially derived.

#Constructors

#YarnConverter(string, string)

public YarnConverter(string FullyQualifiedTypeName, string StaticCallingString)

Parameters

  • FullyQualifiedTypeNamestring
  • StaticCallingStringstring

Returns Void

#Fields

#FullyQualifiedTypeName

The fully qualified name of the type this converter supports
public string FullyQualifiedTypeName;

Type String

#StaticCallingString

The string form of how you'd invoke this converter. Because converters get called by the source generator knowing what actual characters to dump to disk is all oyu need
public string StaticCallingString;

Type String

Generated from Yarn Spinner for Unity 3.3.