Browse Source

注释热云sdk

ios 1 year ago
parent
commit
2bc6f602f9
3 changed files with 11 additions and 11 deletions
  1. BIN
      .DS_Store
  2. BIN
      GameClient/.DS_Store
  3. 11 11
      GameClient/Assets/Game/HotUpdate/Platform/QDAppStoreManager.cs

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()
         public static void Init()
         {
         {
             IAPManager.Instance.InitializePurchasing();
             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)
         public static void Pay(int buyID, int count, string orderID, long Price)
@@ -21,20 +21,20 @@ namespace GFGGame
 
 
         public static void OnCreateRole()
         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()
         public static void OnEnterGame()
         {
         {
             IAPManager.Instance.CheckOrderToDo();
             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
         }
         }
     }
     }