mirror of
https://github.com/Relintai/godot-steering-ai-framework.git
synced 2024-11-14 04:57:19 +01:00
6132a0aa25
Add BackgroudLayer and DemoInterface scenes that we can reuse across demos Set the game to 2D and extend window modes Part of #21
16 lines
365 B
GDScript
16 lines
365 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
|
|
print(rich_text_label.text)
|