2024-07-14 08:54:08 -07:00
|
|
|
extends Node
|
|
|
|
|
|
|
|
func _ready():
|
|
|
|
|
2024-07-14 16:23:39 -07:00
|
|
|
#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)
|
2024-07-14 12:58:20 -07:00
|
|
|
|
2024-07-14 16:23:39 -07:00
|
|
|
print("Calling the thing")
|
|
|
|
butt("nkc sckccsd scaskcmasklcms")
|
|
|
|
print("Done calling the thing:" )
|
|
|
|
asdfblah.emit()
|
2024-07-14 12:58:20 -07:00
|
|
|
|
2024-07-14 16:23:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
signal asdfblah
|
|
|
|
func butt(asdf):
|
|
|
|
print("Butt1: ", asdf)
|
|
|
|
await asdfblah
|
|
|
|
print("Butt2: ", asdf)
|
2024-07-14 12:58:20 -07:00
|
|
|
|