纳金网

标题: 开着animator窗口编译出现 "Parameter "Speed" does not exist [打印本页]

作者: 烟雨    时间: 2013-4-30 02:28
标题: 开着animator窗口编译出现 "Parameter "Speed" does not exist
问题出在xcode工程上,在编译的时候碰到了
"Parameter "Speed" does not exist."
"Parameter "Direction" does not exist."

我的代码里有如下两条(来自官网教程)
anim.SetFloat("Speed", v);
anim.SetFloat("Direction", h);

然后去官网,给出的解决方案是 关闭animator窗口,并且重启unity
问题就这样解决了....
记录一下 以后碰到好搜索




欢迎光临 纳金网 (http://c-www.narkii.com/club/) Powered by Discuz! X2.5