[]Laya.timer.loop只能重复调用不同函数吗,我想通过传参调用这样不行?
比如 Laya.timer.loop(50, this, this.Scroll,[this.textArr[0]]);
Laya.timer.loop(50, this, this.Scroll,[this.textArr[1]]);
Laya.timer.loop(50, this, this.Scroll,[this.textArr[2]]);
Laya.timer.loop(50, this, this.Scroll,[this.textArr[3]]);
Laya.timer.loop(50, this, this.Scroll,[this.textArr[4]]);
Laya.timer.loop(50, this, this.Scroll,[this.textArr[1]]);
Laya.timer.loop(50, this, this.Scroll,[this.textArr[2]]);
Laya.timer.loop(50, this, this.Scroll,[this.textArr[3]]);
Laya.timer.loop(50, this, this.Scroll,[this.textArr[4]]);
要回复问题请先登录
1 个回复
cuixueying
赞同来自: