This commit is contained in:
Janis
2023-02-20 18:37:32 +01:00
parent e215afc534
commit b92e575f71
4 changed files with 36 additions and 3 deletions

View File

@@ -2,10 +2,9 @@ using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
[CreateAssetMenu(fileName = "Crop", menuName = "Harvestdale/Crops", order = 0)]
public class Crop : ScriptableObject
[CreateAssetMenu(fileName = "Crop", menuName = "Harvestdale/Items/Crop", order = 0)]
public class Crop : Item
{
public string cropName;
public int daysToGrow;
public List<Sprite> sprites = new List<Sprite>();
}