Hi,
I created a bubble dialogue response panel which works great using the mouse, or arrow keys and the return key. However, the space bar is ignored. I tried adding it in various places (Input Actions Editor, Input Device Manager / Key Codes to Check) to no avail.
Attached are screenshots from the Input Actions Editor, DialogueSystemController and my response panel and button. Is there anything I'm missing?
Response button ignores space bar, only reacts to Enter key
Response button ignores space bar, only reacts to Enter key
- Attachments
-
- Response Panel.png (268.69 KiB) Viewed 1413 times
-
- Response Button.png (130.96 KiB) Viewed 1413 times
-
- PlayerInput UI.png (161.09 KiB) Viewed 1413 times
-
- PlayerInput Player.png (182.88 KiB) Viewed 1413 times
-
- DialogueSystemController.png (351.43 KiB) Viewed 1413 times
Re: Response button ignores space bar, only reacts to Enter key
Hi,
The response menu and continue button rely on the Unity UI EventSystem. Make sure the input action assigned to your EventSystem's InputSystemUIInputModule listens for the space bar.
The response menu and continue button rely on the Unity UI EventSystem. Make sure the input action assigned to your EventSystem's InputSystemUIInputModule listens for the space bar.
Re: Response button ignores space bar, only reacts to Enter key
This was the one place I didn't look, thank you!
The InputSystemUIInputModule's "Actions Asset" was set to default instead of my custom one.
Here's another screenshot for future reference:
The InputSystemUIInputModule's "Actions Asset" was set to default instead of my custom one.
Here's another screenshot for future reference:
- Attachments
-
- InputSystemUIInputModule.png (143.8 KiB) Viewed 1374 times