feat: update

This commit is contained in:
2026-06-12 18:05:04 +08:00
parent 8a2fb36a98
commit 9dd3c59edf
67 changed files with 2298 additions and 74 deletions
+15
View File
@@ -0,0 +1,15 @@
extends SceneTree
func _init() -> void:
var scene = preload("res://scenes/player.tscn").instantiate()
var masbro = scene.get_node("Masbro")
if masbro:
print("Masbro found! Children:")
_print_tree(masbro, 0)
else:
print("No Masbro")
quit()
func _print_tree(n: Node, depth: int) -> void:
var indent = " ".repeat(depth)
print("%s- %s (%s)" % [indent, n.name, n.get_class()])
for c in n.get_children():
_print_tree(c, depth + 1)