Rewired input on responses

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Aheydeck
Posts: 5
Joined: Mon Oct 31, 2016 6:30 am

Rewired input on responses

Post by Aheydeck »

Hi,
I dunno if i might have missed something. I've made a clean install of Dialogue System, and clean install on the Rewired package.
Added the Dialogue System Rewired script to the Dialogue Manager.

I can Cancel and Close with my gamepad now, but selecting a response in the list is not working.
I also can't seem to find what button names are used for response navigation?

Please advise!
User avatar
Tony Li
Posts: 22061
Joined: Thu Jul 18, 2013 1:27 pm

Re: Rewired input on responses

Post by Tony Li »

Hi,

You're almost all the way there!

Use a Unity UI Dialogue UI. (Or a TextMesh Pro Dialogue UI.) These use Unity's EventSystem. Inspect the dialogue UI, and tick Auto Focus. This will auto-focus the first response so Unity can navigate them.

Then make sure your EventSystem has a Rewired Standalone Input Module, as described on this Rewired page.

The UI, since it uses Unity's standard EventSystem navigation, will then use the navigation inputs that you've defined in Rewired. You might want to check the axes defined on the Rewired Standalone Input Module to make sure they match your Rewired input definitions.
Aheydeck
Posts: 5
Joined: Mon Oct 31, 2016 6:30 am

Re: Rewired input on responses

Post by Aheydeck »

Thanks! All works fine now!
User avatar
Tony Li
Posts: 22061
Joined: Thu Jul 18, 2013 1:27 pm

Re: Rewired input on responses

Post by Tony Li »

Glad to help!
Post Reply