{"repo":"itisnajim/SocketIOUnity","free":true,"listed":false,"github":"https://github.com/itisnajim/SocketIOUnity","clone":"git clone https://github.com/itisnajim/SocketIOUnity.git","description":"A Wrapper for socket.io-client-csharp to work with Unity.","language":"C#","stars":504,"topics":["unity","socketio","unity3d","realtime","websocket","connection","tcp","events","socket","io"],"license":"MIT","category":"game-templates","readme_excerpt":"SocketIOUnity Description A Wrapper for socket.io-client-csharp to work with Unity, Supports socket.io server v2/v3/v4, and has implemented http polling and websocket. Give a Star! ⭐ Feel free to request an issue on github if you find bugs or request a new feature. If you find this useful, please give it a star to show your support for this project. Supported Platforms 💻 PC/Mac, 🍎 iOS, 🤖 Android Other platforms (including the Editor) have not been tested and/or may not work! Example Installation Copy this url: then in Unity open Window - Package Manager - and click (+) add package from git URL... and paste it there. Usage Check the 'Samples ' folder and socket.io-client-csharp repo for more usage info. Initiation: You may want to put the script on the Camera Object or using to keep the socket alive between scenes! JsonSerializer: The library uses System.Text.Json to serialize and deserialize json by default, may won't work in the current il2cpp. You can use Newtonsoft Json.Net instead: Emiting: Receiving: if you want to play with unity game objects (eg: rotating an object) or saving data using PlayerPrefs system use this instead: or: Connecting/Disconnecting: Server Example Acknowledgement socket.io-client-csharp Socket.IO System.Text.Json Newtonsoft Json.NET Unity Documentation Author itisnajim, itisnajim@gmail.com License SocketIOUnity is available under the MIT license. See the LICENSE file for more info.","default_branch":null,"files":null,"tree":[],"storefront":"/r/itisnajim","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/itisnajim/SocketIOUnity/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}