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

Cursor.visible not working? (5.0)

Discussion in 'Scripting' started by LaneFox, Mar 4, 2015.

  1. michaelday008

    michaelday008

    Joined:
    Mar 29, 2019
    Posts:
    135
    Unity 2020.3.23f1 and this is still an issue.

    I'm not sure if this is intended behavior or not, but I use a dual monitor setup with the Unity editor in one window, and the Scene/game mode in the other window. It only hides the cursor properly if the cursor is within the screen area of the game mode window. It does NOT hide the cursor when the cursor is over the editor window, or even on the window frame of the game window.

    upload_2021-11-26_19-20-0.png