29 lines
605 B
C#
29 lines
605 B
C#
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
namespace SimpleInventorySystem
|
||
|
{
|
||
|
public class Item : MonoBehaviour
|
||
|
{
|
||
|
public string rarity;
|
||
|
public float weight;
|
||
|
public int slotWidth;
|
||
|
public int slotHeight;
|
||
|
public int maxStack;
|
||
|
public float monetaryValue; // TODO: How is this represented?
|
||
|
public bool isConsumable;
|
||
|
|
||
|
// Start is called before the first frame update
|
||
|
void Start()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
// Update is called once per frame
|
||
|
void Update()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|