-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,19 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ItemAtlas : MonoBehaviour
{
public static ItemAtlas Instance { get; private set; }
private void Awake()
{
Instance = this;
}
enum ItemTypes {
STONE,TOMATO
}
public Sprite stoneSprite;
public Sprite woodSprite;
}