Is it possible to autoselect an input box each time I press enter for a menu?
It is linked to a TMPro - InputField box, but the issue is that each time I press enter, I have to click on the inputfield again in order for it to refocus and type in it. The InputField is linked to a Unity Prefab element.
I tried using an ActionList - Select Menu Element in order to refocus it, but I think I might be doing the wrong thing.
ActionList Screenshot: https://drive.google.com/file/d/1bYPsIjMUq0exo940REek5jF8I4F7L953/view?usp=sharing
Any help is appreciated, thank you!
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
As I understand it, the behaviour is built-in to Unity.
When are you running the ActionList, is it set to "Run In Background", and does it re-focus the box if you manually run it from its Inspector window?
Assuming it works when run at the right time, you can assign the ActionList asset in the Input's "On End Edit" event, and run its Interact function to trigger the ActionList upon pressing Enter.