Fridge can store food

This commit is contained in:
Vladimir Koshevarov
2023-03-05 18:37:28 +02:00
parent 901e500d0e
commit 1b5e1b9359
12 changed files with 273 additions and 35 deletions
@@ -1,12 +1,5 @@
using UnityEngine;
public class FoodItem : MonoBehaviour
public class FoodItem
{
[SerializeField]
private SellableItemSO _foodObjectSO;
public SellableItemSO GetFoodObjectSO()
{
return _foodObjectSO;
}
public string Name { get; set; }
public int Energy { get; set; }
}