From 57ce6b6c205325bf668a30a05001748f0b6eeca3 Mon Sep 17 00:00:00 2001 From: zhangaotian <8474238@qq.com> Date: Tue, 13 Aug 2024 16:52:23 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=86=85=E8=B4=AD=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Forest/Assets/Scripts/Framework/Manager/ShopManager.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Forest/Assets/Scripts/Framework/Manager/ShopManager.cs b/Forest/Assets/Scripts/Framework/Manager/ShopManager.cs index 19feda9..a73f470 100644 --- a/Forest/Assets/Scripts/Framework/Manager/ShopManager.cs +++ b/Forest/Assets/Scripts/Framework/Manager/ShopManager.cs @@ -13,6 +13,7 @@ namespace Gameplay.Manager public class ShopManager : Singlenton, IInitable { private Dictionary _unusedPropCount; + public string Platform = "ios"; public bool IsDebug; private Dictionary _consumableGoods; @@ -47,10 +48,11 @@ namespace Gameplay.Manager private void InitProducts() { #if UNITY_ANDROID - _consumableGoods = new Dictionary() + Platform = "android"; + _consumableGoods = new Dictionary() { { "android_coinbox_100", 100 }, { "android_coinbox_600", 600 }, - { "android_coinbox_1600", 1600 } + { "ios_CoinBox_1600", 1600 } }; _nonConsumableGoods = new Dictionary(); #else