截图测试

main
yurui 2024-08-15 16:06:44 +08:00
parent 939fdfb41b
commit 4950862b61
1 changed files with 1 additions and 1 deletions

View File

@ -457,7 +457,7 @@ namespace Gameplay
screenTexture = RenderTexturePool.Instance.Create(SCREEN_SNAPSHOT, width, height);
// 先渲图
CameraManager.Instance.SetMainCameraActive(false);
//CameraManager.Instance.SetMainCameraActive(false);
Camera uiCamera = CameraManager.Instance.UICamera;
uiCamera.targetTexture = screenTexture;
uiCamera.Render();