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

YarnStyleMarkerProcessor

parse-time processor that converts [style] markup tags to bbcode. supports bold, italic, underline, strikethrough, code, and custom names.
class_name YarnStyleMarkerProcessor
extends YarnAttributeMarkerProcessor

Inherits from YarnAttributeMarkerProcessor

#Properties

#styles

optional stylesheet consulted before the built-in styles: maps a lowercased style name to a Dictionary with "start" and "end" bbcode strings. the Godot counterpart of a TextMeshPro style sheet.
var styles: Dictionary = {}

Type Dictionary

#Methods

#process_replacement_marker(YarnMarkupAttribute, Array, Array, String)

func process_replacement_marker(marker: YarnMarkupAttribute, child_builder: Array, child_attributes: Array, locale_code: String) -> YarnAttributeMarkerProcessor.ReplacementMarkerResult

Parameters

Returns YarnAttributeMarkerProcessor.ReplacementMarkerResult

Generated from Yarn Spinner for Godot GDScript 3.3.