Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

统计面板sprite每秒钟增加1000 #71

Open
superzmy opened this issue Mar 27, 2019 · 2 comments
Open

统计面板sprite每秒钟增加1000 #71

superzmy opened this issue Mar 27, 2019 · 2 comments

Comments

@superzmy
Copy link

laya.debugtool.js中有一行
__proto.render中有一行Stat.spriteCount++;非常怪异,它没有配对的--
这令统计面板里的Sprite项每秒钟增加1000+,请问这有何深意?
还是单纯的写错呢

@diozhu
Copy link

diozhu commented Apr 26, 2019

顶一下,我也想知道。。。
文档中不是说统计面板的Sprite数字应该是优化参考的么,数字越小越好。这个老变,我还以为我哪里写的有问题,慢慢注释,到所有代码全都注掉后依旧,最后弄个demo项目才发现不是我的事儿。。。

@msyzzm
Copy link

msyzzm commented May 8, 2019

帮忙顶一下,谁知道这么写代码的意思是什么?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants