[Solved] Change the input for activating selected UI button

Hello all!

I’m working on a menu made up of UI buttons that the user is able to navigate using keyboard / controller inputs. So far the user is able to use directional inputs to pick which button is selected, but when it comes to activating the button it seems like Unity defaults to Space / Enter.

Ideally I would like to set the buttons to use what I have set up for the “Action” input, but I’m kind of at a loss in how to configure that. It’s kind of a pain to search for this information too since the terminology is kind of generic. Any help would be appreciated!

Ended up figuring it out- it’s configured as part of the EventSystem object that gets created when you add the canvas, under the “Submit Button” setting.

2 Likes