31 lines
720 B
Plaintext
31 lines
720 B
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://3ksclx7iiepo"]
|
|
|
|
[sub_resource type="GDScript" id="GDScript_tqnee"]
|
|
script/source = "extends Node3D
|
|
|
|
var stuff := Dictionary()
|
|
signal more_stuff
|
|
|
|
func _ready():
|
|
var v := Node.new()
|
|
stuff[v] = null
|
|
more_stuff.connect(v.get_tree)
|
|
v.free()
|
|
await Engine.get_main_loop().process_frame
|
|
print(stuff.keys())
|
|
print(more_stuff.get_connections())
|
|
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
func _process(delta):
|
|
pass
|
|
"
|
|
|
|
[sub_resource type="MeshLibrary" id="MeshLibrary_8y7oa"]
|
|
|
|
[node name="Foo" type="Node3D"]
|
|
script = SubResource("GDScript_tqnee")
|
|
|
|
[node name="GridMap" type="GridMap" parent="."]
|
|
mesh_library = SubResource("MeshLibrary_8y7oa")
|