Page 1 of 1
I want to continue the conversation using something other than EventSystem submit.
Posted: Thu Oct 24, 2024 11:03 am
by gaku2_sigehiro
It looks like the Continue Button is used to advance the conversation in the dialog system using the EventSystem's submit, but can it be modified so that the conversation can be advanced by directly reading the InputSystem keys?
In that case, which script should I modify?
What kind of script should I insert?
Re: I want to continue the conversation using something other than EventSystem submit.
Posted: Thu Oct 24, 2024 11:39 am
by Tony Li
Hi,
Add a UI Button Key Trigger component to your continue button, and set Key to a key code and/or set the Button Name field to an Input System action name. (You must register the action name with the Dialogue System using the instructions on page 5 of Input_Device_Manager_Manual.pdf provided in your project.)
Re: I want to continue the conversation using something other than EventSystem submit.
Posted: Fri Oct 25, 2024 12:13 pm
by gaku2_sigehiro
Hello.
I tried the method described and got the expected behavior.
thank you.
Re: I want to continue the conversation using something other than EventSystem submit.
Posted: Fri Oct 25, 2024 2:59 pm
by Tony Li
Happy to help!