var tm = new TimelineMax(); tm.to(mesh.scale, 0.5, {x:0.3,delay:0, ease: Linear.easeNone});// var tm = new TimelineMax(); tm.to(mesh.scale,0.5, {y:0.3,delay:0, ease: Linear.easeNone});// var tm = new TimelineMax(); tm.to(mesh.position,0.5, {y:200,delay:0,ease: Linear.easeNone});//
tweenmax是并行
tweenmax是串行的
var tm = new TimelineMax(); tm.to(mesh.scale, 0.5, {x:0.3,delay:0, ease: Linear.easeNone});// tm.to(mesh.scale,0.5, {y:0.3,delay:0, ease: Linear.easeNone});// tm.to(mesh.position,0.5, {y:200,delay:0,ease: Linear.easeNone});//
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/18755.html