Quantcast
Channel: UGUI & TextMesh Pro
Viewing all articles
Browse latest Browse all 23263

Change which input navigates and presses interactable/button?

$
0
0
I want to use keyboard and gamepad navigation for UI. Right now, they just seem to automatically detect "Horizontal," "Vertical," and "Submit" input keys. But is there a way to control which input key "presses" the button? for example, if I wanted all buttons to be pressed by "Jump" instead of "Submit," or if I wanted navigation to use "Strafe" instead of "Horizontal," is there a way to change this without having to write custom scripts for every UI element? I just want to use the built-in...

Change which input navigates and presses interactable/button?

Viewing all articles
Browse latest Browse all 23263

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>