Search Unity

Cant interact with UI when mouse locked

Discussion in 'Immediate Mode GUI (IMGUI)' started by Poinball, Oct 28, 2018.

  1. Poinball

    Poinball

    Joined:
    Feb 23, 2016
    Posts:
    42
    Hi,

    The mouse of my game is locked at the center of the screen using the function Mouse state Locked. The navigation is really similar to a FPS.

    The problem is that I'am using a lot of WorldSpace UI in my game and with the mouse locked I cant interact with them anymore.

    Someone have an idea how I can fix this ?

    Thanks !