fuck around with native script

This commit is contained in:
zoe 2022-05-01 22:23:01 +02:00
parent c8046a6e85
commit 3317db5211
8 changed files with 115 additions and 9 deletions

8
godot/world/StateApi.gd Normal file
View file

@ -0,0 +1,8 @@
extends Node
var server = preload("res://native/StateServer.tscn").instance()
# Called when the node enters the scene tree for the first time.
func _ready():
add_child(server)
print(server.a)
server.foo()