最近做项目发现timer.clearAll()清理不掉calllate,非要clear指定method才能清理掉
能否传一个可复现的demo?
我也遇到同样的问题,Laya.timer.clearAll(this);无法清理 Laya.timer.frameLoop(1, this, scene_animate);
王 坤 已经解决,是作用域的问题,将this替换成Laya.stage,清除也用这个,就可以了。