Page 1 of 1

A button always gets selected in response menu

Posted: Thu Nov 30, 2023 8:25 am
by ogzozdemir
Hello, I've been using and customizing the VN template to suit my preferences, but I've encountered an issue. Whenever I reach the response/choice menu, a button is always selected by default. I want the buttons to be unselected in the beginning. I couldn't find a solution so can you guys please help me?

Re: A button always gets selected in response menu

Posted: Thu Nov 30, 2023 8:55 am
by Tony Li
Hi,

Inspect your Dialogue Manager GameObject's Input Device Manager component. Untick Always Auto Focus.

Re: A button always gets selected in response menu

Posted: Thu Nov 30, 2023 9:08 am
by ogzozdemir
Tony Li wrote: Thu Nov 30, 2023 8:55 am Hi,

Inspect your Dialogue Manager GameObject's Input Device Manager component. Untick Always Auto Focus.
I need to disable the keyboard controls/inputs to do this. However, I still want to control it with both the keyboard and mouse.

Re: A button always gets selected in response menu

Posted: Thu Nov 30, 2023 9:18 am
by Tony Li
Unity UI won't let you navigate buttons using a keyboard or joystick unless a button is already selected.
  • Untick Always Auto Focus
  • Configure the Joystick Axes To Check and Key Codes To Check.
  • Change Key Input Switched Mode To -> Keyboard
When those Axes/Key Codes are pressed the Input Device Manager will switch the Input Device dropdown to Joystick or Keyboard and will select one of the buttons so you can navigate them.