Page 1 of 1

Using xbox controller with dialogue responses

Posted: Wed Oct 05, 2016 7:30 am
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?

Re: Using xbox controller with dialogue responses

Posted: Wed Oct 05, 2016 9:32 am
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.

Re: Using xbox controller with dialogue responses

Posted: Thu Oct 06, 2016 11:14 am
by Trex
Fantastic.

That worked. Thank you.

Re: Using xbox controller with dialogue responses

Posted: Thu Oct 06, 2016 11:24 am
by Tony Li
Happy to help!