IAttributeMarkerProcessor
Provides a mechanism for producing replacement text for a
marker.
public interface IAttributeMarkerProcessorSee 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.StringBuilderASystem.Text.StringBuilderthat contains the child text contained withinmarker. Use the methods on this stringbuilder to produce any text needed from this marker.childAttributesSystem.Collections.Generic.List<Yarn.Markup.MarkupAttribute>The child attributes ofmarker.localeCodestringA 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.