ESC Closes Dialogue Window

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
eeeli
Posts: 49
Joined: Tue Oct 05, 2021 4:54 pm

ESC Closes Dialogue Window

Post by eeeli »

Hi,

Quick question. Escape closes dialogue windows in the game, and I'd like to circumvent that control mapping. I'm using Unity's new input system. I went into the default Input Action Asset attached to the EventSystem in my scene and removed the Cancel input keybinding, assuming that it was tied to ESC and thus is responsible for closing the windows when ESC is pressed. However, that doesn't seem to have fixed my issue - as despite having no binding for Cancel in the EventSystem ESC still exits dialogue windows.

Any advice would be appreciated.
User avatar
Tony Li
Posts: 22152
Joined: Thu Jul 18, 2013 1:27 pm

Re: ESC Closes Dialogue Window

Post by Tony Li »

Hi,

Inspect the Dialogue Manager GameObject's Display Settings > Input Settings. Change Cancel Subtitle Input > Key and Cancel Conversation Input > Key to None.

Those inputs are used like an optional "escape hatch" for conversations, separate from the optional continue button modes available in Display Settings > Subtitle Settings. If you set Key to None and leave Button Name blank, they won't be used.
eeeli
Posts: 49
Joined: Tue Oct 05, 2021 4:54 pm

Re: ESC Closes Dialogue Window

Post by eeeli »

Thanks! I was scratching my head over that one.
Post Reply