mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2025-12-16 13:30:07 +01:00
12 lines
257 B
GDScript
12 lines
257 B
GDScript
extends Window
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready() -> void:
|
|
close_requested.connect(_on_close_requested)
|
|
|
|
|
|
func _on_close_requested() -> void:
|
|
print("%s %s was hidden." % [str(self.get_class()), name])
|
|
hide()
|