Change color of show fps

How to change color of fps parameters, drawcall ?
image

Hi, You can use this code to change color:

cc.director.getScene().getChildByName('PROFILER-NODE').getChildByName('LEFT-PANEL').color = cc.color(255, 0, 0, 255);
cc.director.getScene().getChildByName('PROFILER-NODE').getChildByName('RIGHT-PANEL').color = cc.color(255, 0, 0, 255);
1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.