Files
harvestdale-unity/Assets/Scripts/InventoryItem.cs
2023-02-20 20:26:55 +01:00

18 lines
339 B
C#

using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
// represents an item in the inventory and its count
[System.Serializable]
public class InventoryItem
{
public Item item;
public int count;
public InventoryItem(Item item, int count)
{
this.item = item;
this.count = count;
}
}