Compare commits

...

2 Commits

Author SHA1 Message Date
zhangaotian ce908d7b12 【商品】 2024-08-14 14:42:35 +08:00
zhangaotian 4ea70a5a21 Revert "【Shop】关闭IAP、商店初始化"
This reverts commit e0adc8f70c.
2024-08-14 14:40:34 +08:00
3 changed files with 4 additions and 5 deletions

View File

@ -25,7 +25,7 @@ namespace Gameplay.Game
#endif #endif
AdSDKManager.Instance.ConfigureBeforeInit(unityAdsGameID); AdSDKManager.Instance.ConfigureBeforeInit(unityAdsGameID);
AdSDKManager.Instance.Init(); AdSDKManager.Instance.Init();
//IAPManager.Instance.Init(); IAPManager.Instance.Init();
DontDestroyOnLoad(gameObject); DontDestroyOnLoad(gameObject);
_game = new Forest_MyGame(); _game = new Forest_MyGame();

View File

@ -24,7 +24,7 @@ namespace Gameplay.LoadingExecutor
{ {
AppInfoManager.Instance.InitRemoteInfo(); AppInfoManager.Instance.InitRemoteInfo();
_destProgress = 10f; _destProgress = 10f;
//ShopManager.Instance.Init(); ShopManager.Instance.Init();
_destProgress = 20f; _destProgress = 20f;
await TableManager.Instance.Load(); await TableManager.Instance.Load();
_destProgress = 30f; _destProgress = 30f;

View File

@ -38,9 +38,8 @@ namespace Gameplay.Manager
InitProducts(); InitProducts();
//_sdkHelper = SDKManager.Instance.GetSdkHelper(SDKManager.SdkName.IAP) as IBuyServices; //_sdkHelper = SDKManager.Instance.GetSdkHelper(SDKManager.SdkName.IAP) as IBuyServices;
IAPManager.Instance.SetClientVerify(true); //IAPManager.Instance.SetClientVerify(true);
IAPManager.Instance.AddGoods(_consumableGoods.Keys.ToList(), _nonConsumableGoods.Keys.ToList(), //IAPManager.Instance.AddGoods(_consumableGoods.Keys.ToList(), _nonConsumableGoods.Keys.ToList(), OnRestorePurchase);
OnRestorePurchase);
_init = true; _init = true;
} }