Submit of Response Menu
Submit of Response Menu
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 (39.4 KiB) Viewed 89 times
-
- inputDeviceMgr.png (85.79 KiB) Viewed 89 times
Re: Submit of Response Menu
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.
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.