mirror of
https://github.com/Steffo99/cinnos.git
synced 2024-11-25 09:34:21 +00:00
11 lines
237 B
GDScript
11 lines
237 B
GDScript
extends MarginContainer
|
|
|
|
|
|
func display(s: String, t: float):
|
|
$Panel/HBoxContainer/RichTextLabel.show()
|
|
$Panel/HBoxContainer/RichTextLabel.text = s
|
|
$Timer.start(t)
|
|
|
|
|
|
func _on_timer_timeout():
|
|
$Panel/HBoxContainer/RichTextLabel.hide()
|