did i really spend less than an hour working on this game over the course of an entire week? yes!

This commit is contained in:
Sylvia 2026-08-28 23:30:08 -07:00
parent b842289076
commit 4a80a6ed0f
10 changed files with 113 additions and 1 deletions

View file

@ -10,7 +10,6 @@ public class InventoryUIObject : MonoBehaviour
public void SetObject(Item itemToSet)
{
Debug.Log("here");
itemNameText.text = itemToSet.itemName; //it would be reset every time you open the inventory instead of updating only the amount but whatever it doesn't matter
amountText.text = $"x{InventoryManager.instance.CheckItemAmount(itemToSet)}";
itemIcon.sprite = itemToSet.icon;