TinyAdventure/GameUI.gd

13 lines
261 B
GDScript
Raw Normal View History

2024-07-09 22:33:38 +02:00
extends Control
func _on_message_timer_timeout():
%MessagesContainer.visible = false
func _on_player_trigger_message(message):
%MessagesContainer/MessageTextEdit.text = message
%MessagesContainer/MessageTimer.start(1)
%MessagesContainer.visible = true