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. Dismiss Notice

Question Don't lose focus

Discussion in 'Input System' started by wuthrich7, Jul 25, 2020.

  1. wuthrich7

    wuthrich7

    Joined:
    Apr 11, 2019
    Posts:
    7
    I try to publish a game, and QA tell me:

    In the Main Menu and in-game Pause Menu, if the user uses the left, right or middle mouse button to click outside of the selection, the menu buttons will lose their highlight and the controller will have no functionality.
    Note: The issue is fixed if the user uses the mouse again to select and enter the sub-menus or presses the "SELECT" button in the in-game Pause menu to go back to gameplay.


    I think it's ok, because when you click out of the buttons you lose the focus, but if anyone know how fix it, help me.

    Thanks

    upload_2020-7-25_2-28-3.png

    upload_2020-7-25_2-28-20.png
     
  2. seffles

    seffles

    Joined:
    Oct 2, 2013
    Posts:
    32
  3. Jichaels

    Jichaels

    Joined:
    Dec 27, 2018
    Posts:
    237
    On the event system of the new input system, I think there is a checkbox to control this, "lose focus on background click" or something
     
  4. wuthrich7

    wuthrich7

    Joined:
    Apr 11, 2019
    Posts:
    7
    Thanks so much
     
    Jichaels likes this.