I am trying to make a menu system that can be used with a keyboard, not mouse. So far i have it working, however i want the game to ignore mouse input entirely, because for some reason, clicking anywhere in the game de-selects the UI buttons, meaning you have to click the button again to be able to use the keyboard on it again.
bump for visibility
Could you keep track of the current selection, and if no UI elements are currently selected then force the last selection again?
I will try that later. That is certainly obtuse though. Is this deliberate or a unity bug?
Deselecting the current selection when clicking somewhere else I’d expect to be as designed behavior.
i mean the fact that there doesnt seem to be an intuitive way to prevent that.