Corgi Engine: continue button

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
mohamad321
Posts: 3
Joined: Wed Oct 06, 2021 8:53 am

Corgi Engine: continue button

Post 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?
User avatar
Tony Li
Posts: 22158
Joined: Thu Jul 18, 2013 1:27 pm

Re: Corgi Engine: continue button

Post 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.
Post Reply