YarnPaletteMarkupProcessor
converts [color] markup attributes to bbcode color tags.
class_name YarnPaletteMarkupProcessor
extends YarnMarkupAttributeProcessorInherits from YarnMarkupAttributeProcessor
#Properties
#palette
var palette: Dictionary = {}Type Dictionary
#Methods
#add_palette_color(String, Variant)
add a color to the palette
func add_palette_color(name: String, color: Variant) -> voidParameters
nameStringcolorVariant
#process_close()
func process_close() -> StringReturns String
#process_open(String, Dictionary)
func process_open(attribute_value: String, properties: Dictionary) -> StringParameters
attribute_valueStringpropertiesDictionary
Returns String
#remove_palette_color(String)
remove a color from the palette
func remove_palette_color(name: String) -> voidParameters
nameString
Generated from Yarn Spinner for Godot GDScript 3.3.