【内购】

Android_release
zhangaotian 2024-08-13 16:52:23 +08:00
parent a2d1b18698
commit 57ce6b6c20
1 changed files with 4 additions and 2 deletions

View File

@ -13,6 +13,7 @@ namespace Gameplay.Manager
public class ShopManager : Singlenton<ShopManager>, IInitable public class ShopManager : Singlenton<ShopManager>, IInitable
{ {
private Dictionary<PropType, int> _unusedPropCount; private Dictionary<PropType, int> _unusedPropCount;
public string Platform = "ios";
public bool IsDebug; public bool IsDebug;
private Dictionary<string, int> _consumableGoods; private Dictionary<string, int> _consumableGoods;
@ -47,10 +48,11 @@ namespace Gameplay.Manager
private void InitProducts() private void InitProducts()
{ {
#if UNITY_ANDROID #if UNITY_ANDROID
_consumableGoods = new Dictionary<string, int>() Platform = "android";
_consumableGoods = new Dictionary<string, int>()
{ {
{ "android_coinbox_100", 100 }, { "android_coinbox_600", 600 }, { "android_coinbox_100", 100 }, { "android_coinbox_600", 600 },
{ "android_coinbox_1600", 1600 } { "ios_CoinBox_1600", 1600 }
}; };
_nonConsumableGoods = new Dictionary<string, int>(); _nonConsumableGoods = new Dictionary<string, int>();
#else #else