Hi! Happy New Year!
I want to ignore the "Submit button". I'm using Rewired. I already added the Input Device Manager Rewired component and the Rewired Standalone Input module to the EventSystem.
To both dialogue continue button and the response button I've added an UI Button Key Trigger component and ticked "Skip if being clicked by Submit"
In game - If I press the Square button (DS4), the conversation still skips dialogue and selects responses.
Thank you in advance for the guidance.
Ignoring Submit button using Rewired
Re: Ignoring Submit button using Rewired
Hi,
"Skip If Being Clicked By Submit" means the UI Button Key Trigger won't also click the button (i.e., an unintentional double click) if the button is being clicked by the Submit input defined on the Input Device Manager component, which should match the EventSystem's Submit input. It won't prevent the EventSystem from reading the Submit input and clicking the button, which is the way Unity UI input works.
"Skip If Being Clicked By Submit" means the UI Button Key Trigger won't also click the button (i.e., an unintentional double click) if the button is being clicked by the Submit input defined on the Input Device Manager component, which should match the EventSystem's Submit input. It won't prevent the EventSystem from reading the Submit input and clicking the button, which is the way Unity UI input works.
Re: Ignoring Submit button using Rewired
Thank you Tony, I had both standalone input modules active, forgot to remove Unity's. Thank you!
Re: Ignoring Submit button using Rewired
Good catch! I wouldn't have thought to suggest checking that.