1.本人小白,最近在官网学习survivalshooter的小游戏项目,不知为何,我把原本下载资料里面,asset / Models/Characters拖出来 放到hierarchy里面的player里面的animator组件删除了,然后在添加组件 animator,然后其余都没有变,按照教程写好脚本和animator controller 挂载完毕后,就出现了这个bug;“'Player' Animation Event 'Restart Level' has no receiver! Are you missing a component?'”出现这个bug同时 animator这个组件没有反应,就是说没有动画效果.
网上找了很久没有找到有用的资料,只好慢慢排除。
反正最后面发现,是因为我删除了原有的animator,add Component新的animator,但是这个新的就是无法实现动画效果和报错;