Ejemplo n.º 1
0
        public void CloseSyncConnection()
        {
            int result;

#if UNITY_WEBGL && !UNITY_EDITOR
            result = SocketIOJSLib.CloseSyncConnection();
#else
            result = socketSim.CloseSyncConnection();
#endif
            if (result != SocketIOJSLib.SUCCESS)
            {
                connectionAdapter.DisplaySocketIOAdapterError("CloseSyncConnection failed.");
            }
        }