Search Unity

Full Screen on Unity WSA

Discussion in 'Windows' started by wagenheimer, May 20, 2019.

  1. wagenheimer

    wagenheimer

    Joined:
    Jun 1, 2018
    Posts:
    84
    Hi!

    How to Enable the FullScreen Button on WSA Build? My game starts full screen, but If I change it to Windowed Mode, the button to make it full screen does not appear anymore.

    upload_2019-5-20_18-31-57.png

    The above example is from Township game, when in WindowedMode, it shows me that button to return to full-screen mode.

    upload_2019-5-20_18-30-44.png

    What am I doing wrong?
     
  2. timke

    timke

    Unity Technologies

    Joined:
    Nov 30, 2017
    Posts:
    82
    The "Fullscreen" button in the title bar is a legacy Windows 8/8.1 app feature that doesn't appear in Windows 10 apps by default. Instead, the keyboard shortcut Win+Shift+Enter to switch between fullscreen and windowed modes.

    If you want this feature, you can customize your app's title bar to include this functionality. Here's a Microsoft sample showing how to extend title bar functionality: https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/TitleBar. Note that you'll probably need to build Unity as a "XAML Project".

    Other related links:
    https://stackoverflow.com/questions/31773257/windows-universal-app-fullscreen-button
    https://social.msdn.microsoft.com/F...ladding-a-full-screen-button-in-the-title-bar
     
    wagenheimer likes this.