Page 2 of 2
Re: Extras: Menu System Full Screen Toggle
Posted: Tue Jul 31, 2018 11:19 am
by EatAllTheGames
Tony Li wrote: ↑Tue Jul 31, 2018 10:50 am
I believe this update resolves those issues:
DialogueSystem_MenuFramework_2018-07-31rc1.unitypackage
My initial tests work, but I'm going to put it through more tests before publishing it.
It required some extra code to make dropdowns regain focus, and I also made these changes to the UIPanels on the dropdowns' Templates:
- Focus Check Frequency: 0
- Refresh Selectables Frequency: 0
- Select Previous On Disable: unticked
This is because dropdowns handle focus a little differently.
Will update this post as I find them...
1) Resolution drop down doesn't scroll to the currently selected item upon opening it, but once you change selection up/down it scrolls to it.
Re: Extras: Menu System Full Screen Toggle
Posted: Tue Jul 31, 2018 11:32 am
by Tony Li
Sounds good! The only scripts that changed were Options.cs and ScrollToMe.cs. (I made a minor change to ScrollToMe so it doesn't jump as strangely when it hits the bottom item.)
Re: Extras: Menu System Full Screen Toggle
Posted: Tue Jul 31, 2018 1:32 pm
by Tony Li
Hi,
EatAllTheGames wrote: ↑Tue Jul 31, 2018 11:19 am1) Resolution drop down doesn't scroll to the currently selected item upon opening it, but once you change selection up/down it scrolls to it.
Fixed:
DialogueSystem_MenuFramework_2018-07-31rc2.unitypackage
The only file that changed was ScrollToMe.cs. In later versions of Unity, the dropdown items aren't added as children until the end of the frame. The script now waits until then to compute the scroll position.
If you run into any other issues, please let me know what version of Unity you're using.