[]关于timeline的问题
代码如下,timeline play为false的时候,一次播放完毕,需要监听complete时间,显式调用timeline.destroy去销毁的吗
var timeline:Laya.TimeLine = new Laya.TimeLine();
timeline.to(sp, {x:500, y:500}, 3000, null, 0)
.to(sp, {x:0, y:0}, 3000, null, 0);
timeline.play(0, false);
var timeline:Laya.TimeLine = new Laya.TimeLine();
timeline.to(sp, {x:500, y:500}, 3000, null, 0)
.to(sp, {x:0, y:0}, 3000, null, 0);
timeline.play(0, false);
没有找到相关结果
已邀请:
要回复问题请先登录
1 个回复
Monica - 知识达人
赞同来自:
所以就是在COMPLETE播放完成事件中销毁sp