//2000后执行一次
Laya.timer.once(2000, this, function () {
//内容
}
});
//2000为周期重复执行
Laya.timer.frameLoop(2000, this, this.myfunction);
layabox定时器
于 2022-10-31 09:25:45 首次发布
//2000后执行一次
Laya.timer.once(2000, this, function () {
//内容
}
});
//2000为周期重复执行
Laya.timer.frameLoop(2000, this, this.myfunction);