zhaoyang 2 жил өмнө
parent
commit
ff64f1c579

+ 3 - 3
GameClient/Assets/Game/HotUpdate/Controller/LogController.cs

@@ -22,7 +22,7 @@ namespace GFGGame
             msgDic.Add(_all, new List<string>());
             msgDic.Add(_error, new List<string>());
             msgDic.Add(_log, new List<string>());
-            if (LauncherConfig.onDebug >= 0)
+            if (LauncherConfig.onDebug == 1)
             {
                 this.CreatBtnLog();
             }
@@ -69,7 +69,7 @@ namespace GFGGame
                     //     _btnLog.m_c1.selectedIndex = 1;
                     //     _btnLog.target.alpha = 1;
                     // }
-                    if (LauncherConfig.onDebug >= 0)
+                    if (LauncherConfig.onDebug >= 1)
                     {
 #if !UNITY_EDITOR
                         ViewManager.Show(ViewName.LOG_VIEW);
@@ -77,7 +77,7 @@ namespace GFGGame
                     }
                     break;
                 default:
-                    if (LauncherConfig.onDebug >= 0)
+                    if (LauncherConfig.onDebug >= 1)
                     {
                         if (msgDic[_all].Count == _maxCount)
                         {