using System.Collections; using System.Collections.Generic; using UnityEngine; public class GudieAnimationManager : MonoBehaviour { private Animator _animator; private void Awake() { _animator = transform.GetComponentInChildren(); } public void Play(string name) { _animator.CrossFade(name, 0.5f); } public void FrameEstimate() { EventManager.Instance.Dispatch("PoseEstimate"); } }