关于Animation State could not be played的问题

        最近想学习一下游戏开发,于是对cocos2d-x和unity3D多少了解了一下,现在在学习unity3D中......

在学习中偶尔看看别人的教程,在学习Animation组件的时候,遇到了这个问题,别人顺利的运行了程序,

可我的总是出现这个问题:

         The animation state Eat could not be played because it couldn't be found!

Please attach an animation clip with the name 'Eat' or call this function only for existing animations.
UnityEngine.Animation:CrossFade(String)
tiger:OnGUI() (at Assets/tiger.js:19)

         开始没找到合适的,后来在看一个法国人给出的答案时,解决了这个问题:I have this problem ,

and i think i find the solution . select your player , then in the inspector area clik on "select" and know clik

on "Rig" and in the Animation type choose "Legacy ".

        希望对遇到的人有所帮助!




评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值