[]unity 导出scene 子元素的animator 怎么控制?
var bianfuyu=scene.getChildByName('bianfuyu')
that.ss=fuzhi(bianfuyu); //clone()
that.tt=ss.getComponentByIndex(0); // tt = animator
tt.playbackRate =5 ; //不会起作用
console.log(tt.currentKeyframeIndex) //输出为-1
上述的playbackRate=5 不起作用 , 这是为什么?
另外animator 的控制方法好像很少。
没有找到相关结果
已邀请:
2 个回复
brekss
赞同来自:
但是会自动停止播放,, 当currentPlayTime 到达一定数字后,动画会自动停止
cuixueying
赞同来自: