7 lines
164 B
GDScript3
7 lines
164 B
GDScript3
|
extends RichTextLabel
|
||
|
|
||
|
func _ready():
|
||
|
owner.on_message_received.connect(on_message_received)
|
||
|
|
||
|
func on_message_received(bbcode: String):
|
||
|
append_text(bbcode + "\n")
|