private void TryConnectServer() { mWebSocket.Close(4999, "新連線"); Uri uri = new Uri(ServerPath); Debug.LogFormat("準備連線至 {0}:{1}", uri.Host, uri.Port); mWebSocket.Connect(uri.Host, uri.Port, ServerPath.Contains("https"), "null"); }