using System.Collections.Generic; using Types.Items; using UnityEngine; [CreateAssetMenu(fileName = "RockInteractable", menuName = "Game Data/Farming/Rock Interactable")] public class RockInteractable : Interactable { public enum RockSize { Small, Medium, Large } public RockSize rockSize; // automatically set the type when creating new instance public RockInteractable() { type = InteractableType.Rock; } public List ContainsItems { get; set; } public void Interact() { Debug.Log("Rock Interact"); } public void Initialize() { Debug.Log("Rock Initialize"); ContainsItems = new List(); } }