浏览代码

注释热云sdk

ios 1 年之前
父节点
当前提交
2bc6f602f9
共有 3 个文件被更改,包括 11 次插入11 次删除
  1. 二进制
      .DS_Store
  2. 二进制
      GameClient/.DS_Store
  3. 11 11
      GameClient/Assets/Game/HotUpdate/Platform/QDAppStoreManager.cs

二进制
.DS_Store


二进制
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
         }
     }