mirror of
https://git.kittycat.homes/zoe/codename-routes.git
synced 2024-08-15 03:18:26 +00:00
fuck around with native script
This commit is contained in:
parent
c8046a6e85
commit
3317db5211
8 changed files with 115 additions and 9 deletions
8
godot/world/StateApi.gd
Normal file
8
godot/world/StateApi.gd
Normal 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()
|
Loading…
Add table
Add a link
Reference in a new issue