using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Assets.Scripts.InteractableObjects { public class Tree : InteractableObject { public override void handleInteraction(GameObject player) { player.GetComponent().SetInteger("objectCategory", 1); player.GetComponent().SetTrigger("Interaction"); } } }