using System.Collections; using System.Collections.Generic; using UnityEngine; public class UIButtonController : MonoBehaviour { // Start is called before the first frame update public Animator an; public void run() { an.SetTrigger("run"); } }