/// <summary> /// 播放动画 /// </summary> /// <param name="name"></param> public void Play(AnimatEnum name) { agent.Play(name); }
public void Play(AnimatEnum name) { agent.SetTrigger(name.ToString()); }