Simple way to connect Python with Unity
-
Start Unity 3D from BasicUnityPython & press play (you should see in Unity: Server is listening)
-
Open terminal in this folder and run: python client_asyncio.py, you should see in Unity: "Hello World x" / Python terminal:
-
Send: {'welcome': 'Hello World x!'} Received: {'unity': 'Unity sends its regards x'} Close the socket