Reda Benjamin Meyer
Reda Benjamin Meyer
Finally I've added this try and catch exception cause the mreceiver once not connected and being called is unregistered try{ parent.getActivity().unregisterReceiver(mReceiver); PApplet.print("Unregistered receiver successfully" ); } catch(Exception e){ PApplet.print("No registered...
I can help you implement Bluetooth on Godot! Just come over the discord channel. https://discord.gg/rQqVtAP
I'm stucked... Could you provide me a simple working example for loading and instancing python script in gdscript and calling a function declared in @exposed Class?
So i could pass the first step of instancing and calling a function which can return what she receives. Now I've a question about arrays with the return value from...
I had to extract each value at once and recompose the array on gdscript.
You can load it like a gdscript. ``` var loadedScript = load("res://PythonScript.py") var loadedScriptInstance = loadedScript.new() loadedScriptInstance.funcToInitVar()
> > You can load it like a gdscript. > > > > ``` > > var loadedScript = load("res://PythonScript.py") > > > > var loadedScriptInstance = loadedScript.new() > >...
I've successfully loaded a py script into a GD script with constructors too but couldn't call the function in the loaded class. See my post. [https://github.com/touilleMan/godot-python/issues/266](https://github.com/touilleMan/godot-python/issues/266)
As I see you're trying to do the opposite 🙂
And for ArrayList