[u3d笔记] animator 播放动画

若是在 u3d animator 编辑器里不会操做动画状态机话,能够在代码里 GetComponent<Animator>() ,取到 animator 后直接 Play("状态名") 便可直接播放 对应动画。 html https://docs.unity3d.com/ScriptReference/Animator.Play.html 编辑器 public void  Play(string 
相关文章
相关标签/搜索