Page 1 of 1

Scroll View Nagivation Joystick

Posted: Sun Nov 08, 2015 7:22 pm
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

Re: Scroll View Nagivation Joystick

Posted: Sun Nov 08, 2015 7:57 pm
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.

Re: Scroll View Nagivation Joystick

Posted: Mon Nov 09, 2015 3:31 am
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!!!

Re: Scroll View Nagivation Joystick

Posted: Mon Nov 09, 2015 10:39 am
by juanchokinu
Hi Tony!

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

Thank you!

Re: Scroll View Nagivation Joystick

Posted: Mon Nov 09, 2015 12:33 pm
by Tony Li
Glad I could help!

Re: Scroll View Nagivation Joystick

Posted: Mon Nov 09, 2015 3:18 pm
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

Re: Scroll View Nagivation Joystick

Posted: Mon Nov 09, 2015 3:43 pm
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".

Re: Scroll View Nagivation Joystick

Posted: Mon Nov 09, 2015 4:39 pm
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?

Re: Scroll View Nagivation Joystick

Posted: Mon Nov 09, 2015 6:21 pm
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.

Re: Scroll View Nagivation Joystick

Posted: Tue Nov 10, 2015 7:47 am
by juanchokinu
Hello Tony,

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

Amazing!

Thank you!!!