There is no ‘Animation’ attached to the “Player” game object
来源:互联网 发布:淘宝助理交易管理没有 编辑:程序博客网 时间:2024/05/18 03:13
There is no ‘Animation’ attached to the “Player” game object
在照着龚老师的Unity3D投篮游戏视频教程练习时,遇到这个错误提示。
我知道意思:就是player模型导入时,动画没有正确的加进来,提示说找不到脚本中提到的Animation。但实际上,我是设置了动画分段的。由于Unity 3D版本比龚老师录视频时用的新,这段动画拆分,就和视频上有不同。
MissingComponentException: There is no ‘Animation’ attached to the “Player” game object, but a script is trying to access it.
You probably need to add a Animation to the game object “Player”. Or your script needs to check if the component is attached before using it.
UnityEngine.Animation.PlayQueued (System.String animation) (at C:/BuildAgent/work/d63dfc6385190b60/artifacts/EditorGenerated/Animations.cs:645)
Player.Update () (at Assets/Scripts/Player.cs:16)
只需要将u3d里模型的Rig-Animationtype 设置成Legacy。
同步发在博客 http://anforen.com/wp/2014/11/there-is-no-animation-attached-to-the-player-game-object/
- There is no ‘Animation’ attached to the “Player” game object
- There is no ‘Animation’ attached to the “Player” game object
- 解决Unity3D中“There is no 'Renderer' attached to the game object”问题
- MySQL Workbench there is no connection to the mySQL Server
- There is no report design object available.
- There is no royal road to science....
- There is no end to progress
- The goal you specified requires a project to execute but there is no POM in 错误
- Birt There is no report design object available
- birt 关于 There is no report design object available
- Selenium element is not attached to the page document
- The goal you specified requires a project to execute but there is no POM in this directory
- The goal you specified requires a project to execute but there is no POM in this directory
- [ERROR] The goal you specified requires a project to execute but there is no POM in this directory
- The goal you specified requires a project to execute but there is no POM in this directory...
- [ERROR] The goal you specified requires a project to execute but there is no POM in this directory
- There is no tracking information for the current branch.If you wish to set tracking information for
- There is no ~/.bashrc to setup user $PATH
- href=#与href=javascriptvoid(0)的区别
- 视频监控ActiveX控件总结
- java学习笔记
- 用JS改变的元素CSS样式
- HDU 1170 Balloon Comes!
- There is no ‘Animation’ attached to the “Player” game object
- java中类的继承调用顺序例子
- 猫都能学会的Unity3D Shader入门指南(一)
- 第十周项目五:1000以内所有的完数
- ps命令显示用户名而不是uid
- Tomcat设置成NIO时,使用的线程池
- 【bzoj 3687】: 简单题
- 【POJ3660】Cow Contest Floyd传递闭包
- java.File