Compare commits
2 Commits
e0adc8f70c
...
ce908d7b12
Author | SHA1 | Date |
---|---|---|
zhangaotian | ce908d7b12 | |
zhangaotian | 4ea70a5a21 |
|
@ -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();
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue