using System.Collections.Generic; using UnityEngine; [CreateAssetMenu(fileName = "TreeInteractable", menuName = "Game Data/Farming/Tree Interactable")] public class TreeInteractable : Interactable { public TreeInteractable() { type = InteractableType.Tree; } public List ContainsItems { get; set; } public void Initialize() { Debug.Log("Rock Initialize"); ContainsItems = new List(); } public override void OnEnter2D(Collider2D collider) { Debug.Log("Rock OnEnter2D"); } public override void OnExit2D(Collider2D collider) { Debug.Log("Rock OnExit2D"); } public override void OnInteract() { Debug.Log("Rock OnInteract"); } public override void Interact() { Debug.Log("Rock Interact"); } }