[]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 的控制方法好像很少。
已邀请:

brekss

赞同来自:

用了新版本后,有用了 。
但是会自动停止播放,, 当currentPlayTime  到达一定数字后,动画会自动停止

cuixueying

赞同来自:

收到,我们看下!

该问题目前已经被锁定, 无法添加新回复

商务合作
商务合作