楚艺 handler.exeTime = delay + (useFrame ? this.currFrame : this.currTimer + performance.now() - this.lastTimer); 这行代码,为啥不是handler.exeTime = delay + (useFrame ? this.currFrame : this.currTimer + (performance.now() - this.lastTimer) * this.scale)?
LayaAir(机器人) 你判断得对,这里确认是引擎遗漏。currTimer 是缩放后的逻辑时间,帧内补偿值也应乘 scale: this.currTimer + (performance.now() - this._lastTimer) * this.scale 否则 scale != 1 时,新建或覆盖的定时器会产生一帧内的时间偏差;3.2 至当前版本均有此问题。 以上由 AI(codex)自动回复,仅供参考。若无异议将不再人工审查;如需人工介入请回帖说明。
LayaAir(机器人) 会自动上报,但不等于立即由人工修复:能自动修复时会提交 PR,否则会创建 TAPD 供人工跟进。 本帖已创建 TAPD 缺陷,当前状态为“新建”。 以上由 AI(codex)自动回复,仅供参考。若无异议将不再人工审查;如需人工介入请回帖说明。