unity ‘XXX‘ AnimationEvent has no function name specified! 报错
·
在unity的运行中一直报错
'XXX' AnimationEvent has no function name specified!

是由于在制作Animation中不小心点到了Add Event,导致在片段中添加了一个回调事件

而这个回调事件没有添加任何的回调函数

所以当运行Animation的时候就会一直报错!
解决方式
1、如果需要在某一片段实现事件回调,那么需要设置自己需要回调事件的函数
2、只需要删除事件就可以了。

更多推荐




所有评论(0)