为了账号安全,请及时绑定邮箱和手机立即绑定

unity3d animator 怎么替换动画

unity3d animator 怎么替换动画

精慕HU 2018-11-05 04:04:58
unity3d animator 怎么替换动画
查看完整描述

1 回答

?
ITMISS

TA贡献1871条经验 获得超8个赞

这是通过改变之前在系统中设定的值来做到的。
this.theAnimaor.SetBool(this.attackAnimationName, false);
this.theAnimaor.SetBool(this.idleAnimationName,true);
同时这跟你的状态机是怎么构造的有关。

查看完整回答
反对 回复 2018-11-15
  • 1 回答
  • 0 关注
  • 2064 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信