private void CustumerSellEquipmemtItem(Item item) { UI_PopupWindow.Show_Static("정말로 판매하시겠습니까?", () => { shop.PlayerSellEquipmentItem(item); }); }
private void CustumerBuyEquipmentItem(ItemDatum itemDatum) { if (true == shop.IsPlayerAffordable(itemDatum)) { UI_PopupWindow.Show_Static("정말로 구매하시겠습니까?", () => { if (true == shop.PlayerTryTuBuyEquipmentItem(itemDatum)) { } else { //pop up window inventory is full so that cannot buy it } }); } else { //돈 부족 구매 불가 pop up Debug.Log("Lack of Money: buy Failure"); } }