Compare commits
2 Commits
e0adc8f70c
...
ce908d7b12
Author | SHA1 | Date |
---|---|---|
zhangaotian | ce908d7b12 | |
zhangaotian | 4ea70a5a21 |
|
@ -25,7 +25,7 @@ namespace Gameplay.Game
|
|||
#endif
|
||||
AdSDKManager.Instance.ConfigureBeforeInit(unityAdsGameID);
|
||||
AdSDKManager.Instance.Init();
|
||||
//IAPManager.Instance.Init();
|
||||
IAPManager.Instance.Init();
|
||||
|
||||
DontDestroyOnLoad(gameObject);
|
||||
_game = new Forest_MyGame();
|
||||
|
|
|
@ -24,7 +24,7 @@ namespace Gameplay.LoadingExecutor
|
|||
{
|
||||
AppInfoManager.Instance.InitRemoteInfo();
|
||||
_destProgress = 10f;
|
||||
//ShopManager.Instance.Init();
|
||||
ShopManager.Instance.Init();
|
||||
_destProgress = 20f;
|
||||
await TableManager.Instance.Load();
|
||||
_destProgress = 30f;
|
||||
|
|
|
@ -38,9 +38,8 @@ namespace Gameplay.Manager
|
|||
|
||||
InitProducts();
|
||||
//_sdkHelper = SDKManager.Instance.GetSdkHelper(SDKManager.SdkName.IAP) as IBuyServices;
|
||||
IAPManager.Instance.SetClientVerify(true);
|
||||
IAPManager.Instance.AddGoods(_consumableGoods.Keys.ToList(), _nonConsumableGoods.Keys.ToList(),
|
||||
OnRestorePurchase);
|
||||
//IAPManager.Instance.SetClientVerify(true);
|
||||
//IAPManager.Instance.AddGoods(_consumableGoods.Keys.ToList(), _nonConsumableGoods.Keys.ToList(), OnRestorePurchase);
|
||||
_init = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue