unity3d出现on animation 'Armed-Run-Forward' has no receiver! Are you missing a component?解决

分类栏目:unity3d教程

61

unity3d出现 on animation 'Armed-Run-Forward' has no receiver! Are you missing a component? 如何解决?

资源990为您解答

找到动画文件

删除下面图片里面的事件即可

unity3d出现on animation 'Armed-Run-Forward' has no receiver! Are you missing a component?解决

最直接的方法就是删除动画的所有事件,这样就不需要接收器

正确的处理方法就是给动画对象(挂载animotor的对象)添加一个MonoBehaviour脚本
并且脚本包含对应事件名称的方法(就是图中的Function)
有多少个事件就要添加多少个对应的方法