mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-04 15:00:09 +01:00
* General proofreading for grammar and spelling * General formatting * Addition of appropriate literals where appropriate, i.e. `&"foo"` for `StringName` cases and `^"foo/bar"` for `NodePath` cases
12 lines
252 B
GDScript
12 lines
252 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(get_class()), name])
|
|
hide()
|