From 1c64863a1a2d9043cc7457b9715f6077e7fc2eb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=ED=8C=90=EB=8F=8C?= Date: Thu, 7 Mar 2024 21:20:09 +0900 Subject: [PATCH] =?UTF-8?q?=EC=95=84=EC=9D=B4=ED=85=9C=20=EA=B5=AC?= =?UTF-8?q?=EB=A7=A4=EC=8B=9C=20=EC=A0=95=EB=B3=B4=20=EC=97=85=EB=8D=B0?= =?UTF-8?q?=EC=9D=B4=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Client/Assets/1_Script/Prefab/ShopTypeitemPrefab.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Client/Assets/1_Script/Prefab/ShopTypeitemPrefab.cs b/Client/Assets/1_Script/Prefab/ShopTypeitemPrefab.cs index 86893615..684b52c8 100644 --- a/Client/Assets/1_Script/Prefab/ShopTypeitemPrefab.cs +++ b/Client/Assets/1_Script/Prefab/ShopTypeitemPrefab.cs @@ -28,10 +28,13 @@ public class ShopTypeitemPrefab : MonoBehaviour BuyShopItemResp resp = new BuyShopItemResp(); resp.Request((data) => { - Debug.Log("¾ÆÀÌÅÛ ±¸¸Å ¼º°ø"); Statics.gold = data.gold; Statics.cash = data.cash; GameCtrl.Instance.MoneyUpdate(); + Statics.itemManager.box.add(data.deck_unit); + Statics.itemManager.box.add(data.equipment); + Statics.itemManager.box.add(data.consumableItem); + Statics.itemManager.box.add(data.etcItem); }, shopItemData.index); } }