From 26ffa8d016698c00d084444dbb69f2827c8b839e Mon Sep 17 00:00:00 2001 From: Ding Yuntian <1491671119@qq.com> Date: Mon, 27 Apr 2026 22:36:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20Windows=E4=B8=8A=E5=AE=9E=E9=99=85?= =?UTF-8?q?=E4=B8=8A=E6=B2=A1=E6=9C=89=E6=9C=80=E5=A4=A7=E5=8C=96=E7=AA=97?= =?UTF-8?q?=E5=8F=A3=EF=BC=8C=E5=8F=8D=E8=80=8C=E4=BC=9A=E9=80=A0=E6=88=90?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/Game Loop/GameManager.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Assets/Scripts/Game Loop/GameManager.cs b/Assets/Scripts/Game Loop/GameManager.cs index 98dfcc640..52017bbed 100644 --- a/Assets/Scripts/Game Loop/GameManager.cs +++ b/Assets/Scripts/Game Loop/GameManager.cs @@ -211,7 +211,8 @@ namespace AibisDream case "MaximizedWindow": targetWidth = Screen.currentResolution.width; targetHeight = Screen.currentResolution.height; - Screen.SetResolution(targetWidth, targetHeight, FullScreenMode.MaximizedWindow); + // Windows上没有MaximizedWindow模式,所以用FullScreenWindow代替 + Screen.SetResolution(targetWidth, targetHeight, FullScreenMode.FullScreenWindow); break; default: return;