Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

Detecting/Disabling Title Bar Contextual Menu in window mode

Discussion in 'Windows' started by OlizorBerzerk, Jul 7, 2019.

  1. OlizorBerzerk

    OlizorBerzerk

    Joined:
    Feb 4, 2019
    Posts:
    62
    Hello!

    I am looking for more information on this issue:

    We have a music game, and on Windows (Standalone) if the player right-click on the title bar at the top, when the game is in Windowed mode, the games threads pause, except not the audio thread.

    So I am looking for a solution to either disable this menu entirely or just detect it in scripting so that I can pause manually.

    Thanks!

    Olivier
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    7,303
    Audio should be pausing too.. Which Windows version are you on? We've had reports audio was misbehaving when minimizing the window in a very specific way on Windows 7 but was not the case on later Windows versions.
     
unityunity