mirror of
https://github.com/DerTyp7/harvestdale-unity.git
synced 2025-10-29 12:52:07 +01:00
18 lines
339 B
C#
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;
|
|
}
|
|
} |