Files
godot-demo-projects/misc/multiple_windows/scenes/window/window.gd
2025-10-08 15:00:22 -07:00

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