Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question When you're playing a built game, how do you quit back to Unity?

Discussion in 'Getting Started' started by RichAllen2023, Nov 17, 2021.

  1. RichAllen2023

    RichAllen2023

    Joined:
    Jul 19, 2016
    Posts:
    1,026
    Above.

    At the moment, to get out of the game I have to press ctrl alt delete and log out and back into Ubuntu.
     
  2. Schneider21

    Schneider21

    Joined:
    Feb 6, 2014
    Posts:
    3,512
    Your application should include a way to exit the game. Either a button or key binding that calls Application.Quit(). If your game runs in windowed mode, you can just click the X up in the title bar. Otherwise, I believe Alt+F4 exits the currently active application on Ubuntu just like it does on Windows.
     
    RichAllen2023 likes this.
  3. RichAllen2023

    RichAllen2023

    Joined:
    Jul 19, 2016
    Posts:
    1,026
    Thanks man, I'll try that over the weekend.