layaair写动画的方法 用时间轴最方便
时间:2020-04-28 19:31:12
收藏:0
阅读:157
var tag5 = getsp("/uag5.png", 645, 1931); daolu3b.addChild(tag5); var TimeLine = Laya.TimeLine; var timeLine = new TimeLine(); timeLine.addLabel("suoxiao", 0).to(tag5, { scaleX: 0.8, scaleY: 0.8 }, 1000, null, 0).addLabel("fangda", 0).to(tag5, { scaleX: 1, scaleY: 1, }, 1000, null, 0); timeLine.play(0, true);
layaair写动画的方法 用时间轴最方便
原文:https://www.cnblogs.com/newmiracle/p/12796288.html
评论(0)