Unity 5 - How do I achieve gamepad support for the UI system?
I'm trying to get my menus working with more than just a mouse. I'm using a wired XBox 360 controller, and the UI doesn't come with built in gamepad support.
I tried making it so that, when a player switches to a menu, that menu has a pre-selected button that they can start off on. If I do this, the player can navigate the menus using the gamepad. However, there are a few issues with this:
if the player isn't using a gamepad, then it looks ugly to have a button pre-selected
When the player uses the control stick to navigate, the time in between being able to navigate to another menu is too inconsistent. Sometimes it takes a longer time, others it's almost instant.
I want to know if there's a relatively easy to add good amepad support to menus. I can make my own script if necessary, but I'd like to know if there's a better way.
Your answer
Follow this Question
Related Questions
UI Text: Words at end of line jumping to next line 0 Answers
How to change the position of a button? 1 Answer
Trying to change Source Image of UI Image via Script 2 Answers
Unity 5.0.2 UI Text - Best Fit isn't working correctly? 1 Answer
How to render UI Text in front of 3d gameObject on ScreenSpace Camera 0 Answers