Fix fullscreen mode

This commit is contained in:
2025-08-25 21:54:07 -07:00
parent b14ca2518b
commit 47ba151c25
2 changed files with 4 additions and 2 deletions

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 =>
{