Page 1 of 1

ESC Closes Dialogue Window

Posted: Thu Feb 10, 2022 3:42 pm
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.

Re: ESC Closes Dialogue Window

Posted: Thu Feb 10, 2022 4:05 pm
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.

Re: ESC Closes Dialogue Window

Posted: Thu Feb 10, 2022 4:51 pm
by eeeli
Thanks! I was scratching my head over that one.