CocosCreator_获取屏幕尺寸
let windowSize=cc.view.getVisibleSize();cc.log("width="+windowSize.width+",height="+windowSize.height);;windowSize=cc.winSize;//推荐 原因 短cc.log("width="+windowSize.width+",height="+windowSize.heigh...
原创
2018-08-04 00:13:33 ·
27530 阅读 ·
0 评论