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

IAttributeMarkerProcessor

Provides a mechanism for producing replacement text for a marker.
public interface IAttributeMarkerProcessor

See also

#Methods

#ProcessReplacementMarker(MarkupAttribute, System.Text.StringBuilder, List<MarkupAttribute>, string)

Produces replacement text for a marker.
public ReplacementMarkerResult ProcessReplacementMarker(MarkupAttribute marker, System.Text.StringBuilder childBuilder, List<MarkupAttribute> childAttributes, string localeCode);

Parameters

  • The marker to process into replacement text.
  • childBuilderSystem.Text.StringBuilder
    A System.Text.StringBuilder that contains the child text contained within marker. Use the methods on this stringbuilder to produce any text needed from this marker.
  • childAttributesSystem.Collections.Generic.List<Yarn.Markup.MarkupAttribute>
    The child attributes of marker.
  • localeCodestring
    A BCP-47 locale code that represents the locale in which any processing should take place.

Returns ReplacementMarkerResult: The collection of diagnostics produced during processing, and the number of invisible characters created during processing.

Generated from Yarn Spinner for Unity 3.3.