GodotPythonJSONRPC/TestPythonInExport.gd

28 lines
563 B
GDScript

extends Node
func _ready():
#var pw : KiriPythonWrapperInstance = KiriPythonWrapperInstance.new(
#"/storage/git2/GodotJSONRPCTest/addons/KiriPythonRPCWrapper/KiriPythonRPCWrapper/test_module/__init__.py")
#
#pw.setup_python()
#pw.start_process()
#
#var ret = pw.call_rpc_sync("func_to_call", ["test string whatever blah"])
#print(ret)
print("Calling the thing")
butt("nkc sckccsd scaskcmasklcms")
print("Done calling the thing:" )
asdfblah.emit()
signal asdfblah
func butt(asdf):
print("Butt1: ", asdf)
await asdfblah
print("Butt2: ", asdf)