15 lines
417 B
C#
15 lines
417 B
C#
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<Animator>().SetInteger("objectCategory", 1);
|
|
player.GetComponent<Animator>().SetTrigger("Interaction");
|
|
}
|
|
}
|
|
} |