Fix fullscreen mode

This commit is contained in:
Lncvrt committed 2025-08-25 21:54:07 -07:00
1 parent b14ca2518b
commit 47ba151c25
2 files changed
+4 -2

No files matched your search

+3 -1
View File
@@ -49,7 +49,9 @@ public class SettingsMenu : MonoBehaviour
setting1toggle.onValueChanged.AddListener(value =>
{
BazookaManager.Instance.SetSettingFullScreen(value);
Screen.fullScreen = value;
var width = Display.main.systemWidth;
var height = Display.main.systemHeight;
Screen.SetResolution(width, height, value);
});
setting2toggle.onValueChanged.AddListener(value =>
{
+1 -1
View File
@@ -94,7 +94,7 @@ PlayerSettings:
bakeCollisionMeshes: 0
forceSingleInstance: 0
useFlipModelSwapchain: 1
resizableWindow: 0
resizableWindow: 1
useMacAppStoreValidation: 0
macAppStoreCategory: public.app-category.games
gpuSkinning: 1