- install node dependencies by running command npm install
- create a new 3d project in unity
- install socket.io asset in unity form asset store.
- drag and drop SocketIO prefab in the scene.(SocketIO/prefabs/SocketIO.prefab)
- replace port number to 3000 in url property of socketIO component script
- create an empty component, name it 'controller' and add controller.cs script
- run node index.js in cmd
- run unity game