This commit is contained in:
Janis
2023-02-22 13:50:33 +01:00
parent 13902bc589
commit a2e4459b5c
4 changed files with 6 additions and 10 deletions

View File

@@ -15,7 +15,6 @@ public class SlotUI : MonoBehaviour, IDropHandler
private void Start()
{
UpdateSlot();
contentObject.GetComponent<DraggableSlotContentUI>().slotIndex = slotIndex;
playerInventory = GameObject.FindGameObjectWithTag("Player").GetComponent<Inventory>();
}
public void SetInventoryItem(InventoryItem newInventoryItem)