How to go ahead with dialogue by pressing space

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Cocco
Posts: 7
Joined: Thu Oct 14, 2021 10:53 am

How to go ahead with dialogue by pressing space

Post by Cocco »

During a dialogue, if i press any key the dialogue continues, but i want the dialogue to continue just if i press space. How can i do that? thanks
User avatar
Tony Li
Posts: 22158
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to go ahead with dialogue by pressing space

Post by Tony Li »

Hi,

Did you do something special to configure the dialogue to continue when pressing any key?

By default, dialogue UIs use standard Unity UI. This means it clicks the continue button (if it has focus) when you press the Unity UI EventSystem's Submit input. The default mappings for the Submit input are the space bar and Enter key. To ensure that the continue button has focus when showing a subtitle, tick the Dialogue Manager's Input Device Manager component > Always Auto Focus checkbox.
Post Reply