fuzzyworld

godot-shooter / meteor / files / Popup.gd

Branch meteor · default branch · all branches

Popup.gd

Blame: the commit that last changed each line · file · history

f1a0def4 2023-10-31 Pavel Safronov1extends Control
2
3export var message: String = ""
4
5# Called when the node enters the scene tree for the first time.
6func _ready() -> void:
7 $PopupDialog/Label.text = message
8 $PopupDialog.popup()
9
10func _on_Button_pressed() -> void:
11 queue_free()