如何用代码或者命令控制player3窗口的缩放比例

2025-06-21 13:12:06
推荐回答(1个)
回答1:

cc.Director:getInstance():getOpenGLView():setFrameZoomFactor(0.75)

这样就可以了。