Page 1 of 1
Submit of Response Menu
Posted: Mon Jun 10, 2024 9:14 am
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)
Re: Submit of Response Menu
Posted: Mon Jun 10, 2024 9:53 am
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.