-Added Items

-Added item stacking
-adding and removing items
This commit is contained in:
julius
2022-02-10 19:56:25 +01:00
parent 254a3b580c
commit 9201677c1b
30 changed files with 791 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "Item", menuName = "Items/Item", order = 1)]
public class Item : ScriptableObject
{
public new string name;
public int id;
public bool isStackable;
public Sprite sprite;
}