How to prevent options to be pre selected for input?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
windwalking
Posts: 6
Joined: Tue Mar 26, 2024 6:31 am

How to prevent options to be pre selected for input?

Post by windwalking »

Hello!

Currently I am having an issue with controller support. The first option of the player's responses is always selected even though I made all buttons non navigatable and made sure to clear the Event System's selected object. How can I have nothing selected?

The reason this is an issue is because the controller is controlling a virtual mouse with button A being mouse click, however now Button A also selects the first option.

It is maybe worth noting that I have an Override Display settings script on that scene
User avatar
Tony Li
Posts: 22093
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to prevent options to be pre selected for input?

Post by Tony Li »

Hi,

On your Dialogue Manager GameObject/prefab, inspect the Input Device Manager component and check these settings:
  • Input Device: Mouse
  • Joystick & Key *** To Check: All lists empty
  • Always Auto Focus: UNticked.
  • Control Cursor State: If you're managing the mouse cursor yourself, UNtick
windwalking
Posts: 6
Joined: Tue Mar 26, 2024 6:31 am

Re: How to prevent options to be pre selected for input?

Post by windwalking »

Thanks a ton! It was the Joystick key part!
User avatar
Tony Li
Posts: 22093
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to prevent options to be pre selected for input?

Post by Tony Li »

Glad to help!
Post Reply