cameraHeight = myCamera.getComponent().orthographicSize * 2;
cameraWidth=cameraHeightScreen.width * 1.0f / Screen.height;
cameraWidth= myCamera.getComponent().orthographicSize * 2Screen.width * 1.0f / Screen.height
unity2d相机尺寸
最新推荐文章于 2023-04-24 21:39:00 发布