Submit of Response Menu

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Syoka
Posts: 11
Joined: Sun Apr 21, 2024 1:38 pm

Submit of Response Menu

Post by Syoka »

Hi, I have set the submit key to z in InputManager but when I nevigate to a selection of response menu and press Z, it does not submit. The following are settings of InputDeviceManager and InputManager, is there wrong settings that affect the menu not submit? (I have also tried check AutoFocus but it still didn't work)
Attachments
inputMgr.png
inputMgr.png (39.4 KiB) Viewed 92 times
inputDeviceMgr.png
inputDeviceMgr.png (85.79 KiB) Viewed 92 times
User avatar
Tony Li
Posts: 22108
Joined: Thu Jul 18, 2013 1:27 pm

Re: Submit of Response Menu

Post by Tony Li »

Hello,

Response menu buttons use the standard Unity UI EventSystem. They do not use the Input Device Manager component's Submit value. Make sure regular Unity UI navigation (i.e., even outside of the Dialogue System) works correctly with your EventSystem.

Note: If you have assigned anything to the response button's Button component > OnClick() event, you must also call StandardUIResponseButton.OnClick. The StandardUIResponseButton will not automatically add its own OnClick method to the Button's OnClick() event if anything else is assigned to the OnClick() event.
Post Reply