コード例 #1
0
        public void CloseChatConnection()
        {
            int result;

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