Scroll View Nagivation Joystick

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
juanchokinu
Posts: 7
Joined: Sun Nov 08, 2015 7:14 pm

Scroll View Nagivation Joystick

Post by juanchokinu »

Hello dear friends, I've got a problem with the navigation of the Scroll View in the Quest Log panel with my joystick.

I need to do all things you could do with keyboard and mouse but with my joystick, and when you are in the Quest Log Window I can navigate to Accepted, Completed and Cancel buttons, even to the Quests Scroll View but I can't open/toggle it and, this is the core thing, I can't get a reference to the TRACK and ABANDON buttons.

So, if you are using a joystick in your game, ¿how could you navigate to Quests to track or abandon them?

See the example in Attachments

Thank you
Attachments
Sin título.jpg
Sin título.jpg (93.95 KiB) Viewed 2360 times
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: Scroll View Nagivation Joystick

Post by Tony Li »

Hi,

If possible, use the Unity UI version instead of Legacy Unity GUI. See the scenes in Assets/Dialogue System/Examples/Unity UI Examples for examples. The Dialogue Manager prefab in Assets/Dialogue System/Prefabs also uses Unity UI.

Unity UI has automatic joystick navigation. You just need to tick the Auto Focus checkbox on the quest log window to enable it.
juanchokinu
Posts: 7
Joined: Sun Nov 08, 2015 7:14 pm

Re: Scroll View Nagivation Joystick

Post by juanchokinu »

Hello Tony Li,

I will try it this afternoon and if something happends I will write it down here. Thank you for your reply!!!
juanchokinu
Posts: 7
Joined: Sun Nov 08, 2015 7:14 pm

Re: Scroll View Nagivation Joystick

Post by juanchokinu »

Hi Tony!

It works!!! :) than you a lot!!!! you saved me so much time!

Thank you!
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: Scroll View Nagivation Joystick

Post by Tony Li »

Glad I could help!
juanchokinu
Posts: 7
Joined: Sun Nov 08, 2015 7:14 pm

Re: Scroll View Nagivation Joystick

Post by juanchokinu »

Hey! I have something new here to ask...

In the Main Menu, when you press the "ESC" button, has the same problem. There's no way to use my joystick in there because I can't see auto focus check box because all of them are created by code.

Is there anyway to do it without coding my joystick in there???

See attachements files :



Thanks
Attachments
Sin título1.jpg
Sin título1.jpg (94.83 KiB) Viewed 2351 times
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: Scroll View Nagivation Joystick

Post by Tony Li »

Yes! :-) Use the Dialogue System Menu Template Prefab available on the Dialogue System Extras page. It's the first button under "Extras: Frameworks, Demos, and Example Scenes".
juanchokinu
Posts: 7
Joined: Sun Nov 08, 2015 7:14 pm

Re: Scroll View Nagivation Joystick

Post by juanchokinu »

And where to put this prefab "UI" ?? I saw it and tried it with the example of the pack but for my Dialog Manager?
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: Scroll View Nagivation Joystick

Post by Tony Li »

juanchokinu wrote:And where to put this prefab "UI" ?? I saw it and tried it with the example of the pack but for my Dialog Manager?
Just add this prefab to your main menu scene: Dialogue System Menus/Prefabs/UI. It doesn't have to be a child or parent of the Dialogue Manager; it can be its own separate object hierarchy. Use the instructions on page 2 of the documentation. Your Dialogue Manager must also be in the main menu scene because the menu system will rely on it to load games.
juanchokinu
Posts: 7
Joined: Sun Nov 08, 2015 7:14 pm

Re: Scroll View Nagivation Joystick

Post by juanchokinu »

Hello Tony,

Thank you so much for your time and answer. It worked!!!

Amazing!

Thank you!!!
Post Reply