Page 1 of 1

Corgi Engine: continue button

Posted: Wed Nov 03, 2021 9:09 am
by mohamad321
I 'm using the dialogue system with corgi engine.....
I have set the key for continue button to "C" in the UITriggerButton component but then noticed that pressing space button also triggers the continue button.
searching everywhere i couldn't find anything wrong, the unity input manager has only space mapped to player jump

am i missing something?

Re: Corgi Engine: continue button

Posted: Wed Nov 03, 2021 9:37 am
by Tony Li
Hi,

The space bar "clicks" whatever UI element is currently focused (aka "selected" in Unity UI terminology). If you have ticked the Dialogue Manager's Input Device Manager component > Always Auto Focus checkbox, or if the Input Device mode is set to Joystick, then the conversation will automatically focus the continue button. This means the space bar will click it.

If you don't want the space bar to click any UI selections, locate the "Submit" inputs in the Unity Input Manager. Remove the mapping to "space".

If you want the space bar to continue to click other UI selections, but you don't want the continue button to be automatically focused/selected, unassign the continue button from the Standard UI Subtitle Panel component but keep its GameObject active.