This commit is contained in:
fatbonks
2025-10-16 05:26:03 +13:00
parent 3090991593
commit 953625fd7a
45 changed files with 1890 additions and 15 deletions

18
test.gd Executable file
View File

@@ -0,0 +1,18 @@
@tool
extends Control
@export var array: Array[Array]
@export_tool_button("Hello") var hello_action: Callable = hello
var a:int = 0
func hello():
var label = Label.new()
label.text = "Hello"
label.name = "HI"
add_child(label)
label.owner = get_tree().edited_scene_root
print(get_tree().edited_scene_root.find_child("VBoxContainer"))