Assign multiple buttons to skip dialogues

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
nishant
Posts: 55
Joined: Mon Sep 21, 2015 3:16 pm
Location: Canada
Contact:

Assign multiple buttons to skip dialogues

Post by nishant »

Hi,
How can I assign multiple buttons to skip dialogues ? Currently I have assigned right click to skip but as am adding controller support , I want to add another key of controller to skip dialogues.

Thanks.
Nishant
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: Assign multiple buttons to skip dialogues

Post by Tony Li »

Hi Nishant,

In Unity's Input Manager (Edit > Project Settings > Input), you can define a button as many times as you want. Unity will check all definitions. For example, let's say you've named the button "Skip". You can create a Skip mapped to "mouse button 1", another Skip mapped to "joystick button 2", another Skip mapped to the "escape" key, etc.

Then just set Dialogue Manager > Input Settings > Cancel button to "Skip".
Post Reply