codename-routes/godot/world/StateApi.gd

8 lines
209 B
GDScript

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()