fuzzyworld

godot-shooter / starfield-background / files / Popup.gd

Branch starfield-background · default branch · all branches

Popup.gd

245 B · history · blame

1extends 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()