mirror of
https://github.com/Relintai/godot-steering-ai-framework.git
synced 2024-12-24 05:37:15 +01:00
16cc3efb43
Fixes #45
14 lines
337 B
GDScript
14 lines
337 B
GDScript
tool
|
|
extends PanelContainer
|
|
|
|
export (String, MULTILINE) var text_bbcode := "" setget set_text_bbcode
|
|
|
|
onready var rich_text_label: RichTextLabel = $MarginContainer/RichTextLabel
|
|
|
|
|
|
func set_text_bbcode(value: String) -> void:
|
|
text_bbcode = value
|
|
if not rich_text_label:
|
|
yield(self, "ready")
|
|
rich_text_label.bbcode_text = text_bbcode
|