Need help either disabling the mouse or making it work with the keyboard in the menu.

Hello everyone:

I am trying to make a menu for a game me and some friends are making, and I’m using the unity UI tools implemented in version 4.6. The problem we have is that if you put the mouse over one of the buttons and then press the arrow keys to navigate, the button you have the mouse on stays highlighted, and we want only one of the buttons to be highlighted at any time. I’ve searched ways to disable the mouse to solve this problem, and I found cursor.visible and the function to lock it in the middle of the screen, but it still interacts with the game when pressing the left mouse button.

Any suggestions?

could try changing the inputmode

documentation is a little thin… although this could be a way to disable all mouse input rather than selectively removing it.

Thanks for the idea! Unfortunately, it seems the input mode property is obsolete in unity 5.1, which is the version I’m using :S

wow that property didn’t last long :roll_eyes: