Question by
wai030 · Mar 22 at 11:45 AM ·
scripting problempython
unity python and c# communication
My code is basically same as this github link
https://github.com/CanYouCatchMe01/CSharp-and-Python-continuous-communication/tree/master/Code
So the code works well without any modification, but it will require us to run the python code outside of unity because the while loop in python is stopping PythonRunner.RunFile from running.
so is it possible to do the data transfer between python and c# with out looping or perhaps there is another ways to activate the external python code and communicate with c# through socket
i am quite sure about the json method is not quite suitable because it will increase the latency between the code communication, if i am wrong, point me out
Comment