- Home /
Question by
OfficialMCPgames · Sep 03, 2018 at 05:36 PM ·
guiuser interfacefullscreenconfigurationgraphical
In-Game Fullscreen Button
So I was working on the settings menu in my game when I realized I should put a full screen on/off button in my game since I have recently removed the configuration window. Anything I can do? (Also remember I mean like a gui button and not a keyboard shortcut)
Comment
Answer by JamesLew · Sep 04, 2018 at 07:47 AM
https://docs.unity3d.com/ScriptReference/Screen-fullScreen.html
Make a button that toggles this bool on and off.