public void SaleCurrentSculpture() { if (tooltip.selected) { ItemDataInfo itemInfo = tooltip.itemDataInfo; graverController.graver.Money += (itemInfo.item.Price / 2) * itemInfo.Amount; inventoryList[1].Items[itemInfo.Slot] = new Item(); inventoryList[1].ItemDataInfos[itemInfo.Slot] = new ItemDataInfo(); DestroyObject(inventoryList[1].Slots[itemInfo.Slot].transform.GetChild(0).gameObject); tooltip.ClearString(); } }