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

ReplacementMarkupHandler

An attribute marker processor receives a marker found in a Yarn line, and optionally rewrites the marker and its children into a new form.
public abstract class ReplacementMarkupHandler : MonoBehaviour, IAttributeMarkerProcessor

Inherits from MonoBehaviour

Implements Yarn.Markup.IAttributeMarkerProcessor

See also

#Methods

#ProcessReplacementMarker(MarkupAttribute, StringBuilder, List<MarkupAttribute>, string)

public abstract ReplacementMarkerResult ProcessReplacementMarker(MarkupAttribute marker, StringBuilder childBuilder, List<MarkupAttribute> childAttributes, string localeCode);

Parameters

  • childBuilderStringBuilder
  • childAttributesList<MarkupAttribute>
  • localeCodestring

Returns ReplacementMarkerResult

Generated from Yarn Spinner for Unity 3.3.