Question by
Koehler_Games · Aug 07, 2019 at 03:34 AM ·
c#fullscreentoggle buttonwindowed
Fullscreen checkbox always starts checked even when the game starts in windowed mode.
In my game I have a setting menu with a fullscreen toggle that works just fine, but even if I start the game in windowed mode it will always be checked. How do I fix this?
public class Settings : MonoBehaviour
{
public void SetFullscreen (bool isFullscreen)
{
Screen.fullScreen = isFullscreen;
}
}
Comment