using System.Collections; using System.Collections.Generic; using UnityEngine; public class AnimationEndScript : MonoBehaviour { public void ToggleHighlightedBool() { GetComponent<Animator>().SetBool("Highlighted", false); } }