guodong 2 жил өмнө
parent
commit
4841e8660b

+ 2 - 0
GameClient/Assets/Game/HotUpdate/Controller/LogController.cs

@@ -71,7 +71,9 @@ namespace GFGGame
                     }
                     if (LauncherConfig.onDebug >= 0)
                     {
+#if !UNITY_EDITOR
                         ViewManager.Show(ViewName.LOG_VIEW);
+#endif
                     }
                     break;
                 default:

+ 3 - 0
GameClient/Assets/Game/HotUpdate/Controller/LoginController.cs

@@ -257,6 +257,9 @@ namespace GFGGame
 
         public static async ETTask ReqReConnectGate()
         {
+#if UNITY_EDITOR
+            return;
+#endif
             ViewManager.Show<ModalStatusView>("重新连接中...");
             int errorCode = await LoginHelper.EnterGame(GameGlobal.zoneScene);
             if (errorCode != ErrorCode.ERR_Success)