Unity-ZeroMQ-Example icon indicating copy to clipboard operation
Unity-ZeroMQ-Example copied to clipboard

An example of Unity 3D 2017 works with NetMQ

trafficstars

An example of Unity 3D 2017 works with ZeroMQ

Environment

Unity 2017.1

Python 3.6.0

Tested on macOS Sierra Tested on Windows 10

What's in this demo

Python scripts:

  • server (in a PUB/SUB model)
  • client (in a REQ/REP model)

C# scripts:

  • client (in a PUB/SUB model)
  • server (in a REQ/REP model)

Scene:

  • Main demo scene

How to run

First start 2 python scripts (in seperate shell sessions):

./Python/server.py
./Python/client.py

Then start play mode of main demo scene in Unity Editor.

You should see the box jump around according to commands sent by python server script and python client script should be able to receive the location update of the same box.