UI Button Key Trigger not working for Button Name

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
MasterDavicous
Posts: 8
Joined: Mon Apr 10, 2023 12:42 pm

UI Button Key Trigger not working for Button Name

Post by MasterDavicous »

Hello, I would like to be able to expand and collapse my Quest Tracker HUD using either Tab on the keyboard or Select on controller. I am using Unity's new Input System. I tried putting a button on it with a UI Button Key Trigger which would cause the button's click Event to tell my script to close the tracker. However, this only seems to work with Tab on keyboard, but Select on controller has no effect. Did I get the Button name wrong? I'm not sure why it isn't working.

Thanks!
Attachments
UI Button Trigger.JPG
UI Button Trigger.JPG (22.15 KiB) Viewed 283 times
User avatar
Tony Li
Posts: 21678
Joined: Thu Jul 18, 2013 1:27 pm

Re: UI Button Key Trigger not working for Button Name

Post by Tony Li »

Hi,

Did you register the "Select" input with the Dialogue System's InputDeviceManager? (See the Input_Device_Manager_Manual.pdf manual in Plugins / Pixel Crushers / Common / Documentation or the video tutorial.)
Post Reply