7 lines
164 B
GDScript3
Raw Normal View History

2024-01-28 21:08:08 +00:00
extends RichTextLabel
func _ready():
owner.on_message_received.connect(on_message_received)
func on_message_received(bbcode: String):
append_text(bbcode + "\n")