|
@@ -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
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|