ios 1 жил өмнө
parent
commit
2bc6f602f9

BIN
.DS_Store


BIN
GameClient/.DS_Store


+ 11 - 11
GameClient/Assets/Game/HotUpdate/Platform/QDAppStoreManager.cs

@@ -9,9 +9,9 @@ namespace GFGGame
         public static void Init()
         {
             IAPManager.Instance.InitializePurchasing();
-#if !UNITY_EDITOR
-            ReYunSDKManager.Instance.Init();
-#endif
+//#if !UNITY_EDITOR
+//            ReYunSDKManager.Instance.Init();
+//#endif
         }
 
         public static void Pay(int buyID, int count, string orderID, long Price)
@@ -21,20 +21,20 @@ namespace GFGGame
 
         public static void OnCreateRole()
         {
-#if !UNITY_EDITOR
-            var accountInfoComponent = GameGlobal.zoneScene.GetComponent<AccountInfoComponent>();
-            ReYunSDKManager.Instance.Register(accountInfoComponent.Account);
-#endif
+//#if !UNITY_EDITOR
+//            var accountInfoComponent = GameGlobal.zoneScene.GetComponent<AccountInfoComponent>();
+//            ReYunSDKManager.Instance.Register(accountInfoComponent.Account);
+//#endif
         }
 
         public static void OnEnterGame()
         {
             IAPManager.Instance.CheckOrderToDo();
 
-#if !UNITY_EDITOR
-            var accountInfoComponent = GameGlobal.zoneScene.GetComponent<AccountInfoComponent>();
-            ReYunSDKManager.Instance.Login(accountInfoComponent.Account);
-#endif
+//#if !UNITY_EDITOR
+//            var accountInfoComponent = GameGlobal.zoneScene.GetComponent<AccountInfoComponent>();
+//            ReYunSDKManager.Instance.Login(accountInfoComponent.Account);
+//#endif
         }
     }