Autofocus disabling on response menu

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Karvakeiju
Posts: 12
Joined: Tue Apr 04, 2023 6:15 am

Autofocus disabling on response menu

Post by Karvakeiju »

Hi,

I'm working with Unity's New Input System and have added the Input Device Manager to the Dialogue Manager to handle control scheme changes. However, I've encountered an issue with controlling the EventSystem selection when a response menu is open during a conversation.

If I open my pause menu using a controller while the response menu is active, the selection focus remains on the responses. This prevents me from controlling the pause menu with the controller.

Here's what I've tried so far:

Setting the response buttons to uninteractable, but it didn't resolve the issue.
Using a wrapper of the Input Device Manager to modify the autoFocus behavior with additional conditions, but I couldn't get it to work as intended.
Could you suggest a solution or point me in the right direction to properly handle enabling the autoFocus in this situation?

Thanks in advance for your help!
User avatar
Tony Li
Posts: 23256
Joined: Thu Jul 18, 2013 1:27 pm

Re: Autofocus disabling on response menu

Post by Tony Li »

Karvakeiju
Posts: 12
Joined: Tue Apr 04, 2023 6:15 am

Re: Autofocus disabling on response menu

Post by Karvakeiju »

Thanks! This was just the thing I was looking for. Now everything is working perfectly :D
User avatar
Tony Li
Posts: 23256
Joined: Thu Jul 18, 2013 1:27 pm

Re: Autofocus disabling on response menu

Post by Tony Li »

Glad to help!
Post Reply