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?
I want to continue the conversation using something other than EventSystem submit.
-
- Posts: 36
- Joined: Sun Jul 14, 2024 2:35 am
Re: I want to continue the conversation using something other than EventSystem submit.
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.)
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.)
-
- Posts: 36
- Joined: Sun Jul 14, 2024 2:35 am
Re: I want to continue the conversation using something other than EventSystem submit.
Hello.
I tried the method described and got the expected behavior.
thank you.
I tried the method described and got the expected behavior.
thank you.