浏览代码

好游快爆SDK

guodong 2 年之前
父节点
当前提交
9105f392ee

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Platform/QDHYKBManager.cs

@@ -91,7 +91,7 @@ namespace GFGGame
 
         public override void OnFailed(int code, string message)
         {
-            Log.Debug("HykbInitListenerProxy OnFailed" + message);
+            Log.Debug("HykbInitListenerProxy OnFailed code: " + code + " - message:" + message);
             EventAgent.DispatchEvent(ConstMessage.ON_PLATFORM_SDK_INITED, false);
         }
     }

+ 1 - 8
GameClient/Assets/Game/HotUpdate/Views/Login/LoginView.cs

@@ -143,14 +143,7 @@ namespace GFGGame
             var account = (string)context.data;
             if(!string.IsNullOrEmpty(account))
             {
-                if(QDManager.IsHYKB)
-                {
-                    Timers.inst.Add(1, 1, (a) => { LoginController.LoginTest(account).Coroutine(); });
-                }
-                else
-                {
-                    LoginController.LoginTest(account).Coroutine();
-                }
+                LoginController.LoginTest(account).Coroutine();
             }
             else
             {