Keyboard navigation too fast

I have setup a simple main menu for my game with three buttons and added a script that selects the first menu item automatically.

I want the player to be able to select buttons using up/down keys, which is working. But when you press down, the middle button often gets jumped over. You can only select it if you merely tap the down key.

Is there a way to set it up so that one keypress only moves the cursor to the next item, instead of all the way down? Or at least lower the rate in which the UI cursor gets updated?

Yes. You can set up the order of where the cursor jumps entirely manual if the automated order doesn’t work for you. Just set navigation to explicit and drag your items there manually.
Here’s where to set it up:

The order is working fine, though the rate in which the selected item updates was too fast.

However, I found the variable “Input Actions per Second” in the EventSystem object, which seems to do the trick if you lower the value.

I’m not sure if that is the correct way and if that will influence my gameplay negatively if I happen to use the new UI for gameplay also.

If anyone has this problem in the future. Try changing “Repeat Delay” on the Event System to anything not 0.

1 Like