Using xbox controller with dialogue responses

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Trex
Posts: 4
Joined: Wed Oct 05, 2016 7:22 am

Using xbox controller with dialogue responses

Post by Trex »

Hello

I'm trying to set up the dialogue system to work with an xbox controller in unity3d.

I'm trying to follow the instructions here : http://www.pixelcrushers.com/dialogue_s ... Navigation

...but I think they might be for an older version of the asset. Or I'm doing something wrong.

I can find the response panel, but there is nothing labelled as a navigation section. If I look at the panels' children, I can find "navigation" under "Response Button Template" and "Scrollbar", where it lets me switch between things like "automatic" and "vertical", but that's all.

Am I missing something, or am I trying to do the wrong thing?
User avatar
Tony Li
Posts: 22679
Joined: Thu Jul 18, 2013 1:27 pm

Re: Using xbox controller with dialogue responses

Post by Tony Li »

Hi,

Looks like I need to update that FAQ. In the next version, it will point to specific GUI system implementations, such as the Keyboard and Gamepad Navigation section for Unity UI Dialogue UI.

To set it up for Unity UI Dialogue UI, just inspect your Unity UI Dialogue UI component and, near the bottom of the inspector, tick Auto Focus. If you're using a response button template, you don't need to do anything else. If you're using explicitly-designed buttons in the Buttons list, inspect each button. Set the Navigation dropdown to Explicit, and specify where the gamepad navigates to in each direction.
Trex
Posts: 4
Joined: Wed Oct 05, 2016 7:22 am

Re: Using xbox controller with dialogue responses

Post by Trex »

Fantastic.

That worked. Thank you.
User avatar
Tony Li
Posts: 22679
Joined: Thu Jul 18, 2013 1:27 pm

Re: Using xbox controller with dialogue responses

Post by Tony Li »

Happy to help!
Post Reply