Update GameManager.cs

This commit is contained in:
Yuntien
2025-06-26 19:18:12 +08:00
parent aedba82e69
commit ce2ad56255
+2 -3
View File
@@ -177,14 +177,13 @@ namespace AibisDream
switch (windowMode)
{
case "FullScreen":
Screen.fullScreenMode = FullScreenMode.FullScreenWindow;
Screen.SetResolution(Screen.currentResolution.width, Screen.currentResolution.height, FullScreenMode.FullScreenWindow);
break;
case "Windowed":
Screen.fullScreenMode = FullScreenMode.Windowed;
Screen.SetResolution(1920, 1080, FullScreenMode.Windowed);
break;
case "MaximizedWindow":
Screen.fullScreenMode = FullScreenMode.MaximizedWindow;
Screen.SetResolution(Screen.currentResolution.width, Screen.currentResolution.height, FullScreenMode.MaximizedWindow);
break;
default:
Debug.Log($"{windowMode} err");