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

YarnMarkupAttributeProcessor

base class for processing markup attributes into bbcode.
class_name YarnMarkupAttributeProcessor
extends RefCounted

Inherits from RefCounted

#Properties

#attribute_name

var attribute_name: String = ""

Type String

#Methods

#handles_attribute(String)

func handles_attribute(attr_name: String) -> bool

Parameters

  • attr_nameString

Returns bool

#process_close()

returns text to insert at the closing tag position.
func process_close() -> String

Returns String

#process_open(String, Dictionary)

returns text to insert at the opening tag position.
func process_open(attribute_value: String, properties: Dictionary) -> String

Parameters

  • attribute_valueString
  • propertiesDictionary

Returns String

Generated from Yarn Spinner for Godot GDScript 3.3.