cocos creator touchmove事件中加入console.log导致fps急剧下降

在touchmove事件中加入过多的console.log打印信息会是游戏的fps下降到10左右所以在做touchmove的时候,不要console.log,并且在update函数里面少用console.log

猜你喜欢

转载自blog.csdn.net/lck8989/article/details/103463392