重现流程:创建一个空的场景,没有任何逻辑,只在update函数中打印dt,在模拟器下运行帧率是稳定的,但是在真机下运行就会有突然掉帧的现象,fast模式和slow模式都有这个问题
class Scene_Test {
constructor() {
super();
Laya.timer.frameLoop(1,this,this.update);
}
private update() {
let dt = Laya.timer.delta / 1000;
console.log("dt="+dt);
}
}
附件中图1是在iphone6上面运行打印的信息,图2是在模拟下运行打印的信息。
请问有人碰到过这个问题吗?

