Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: ArenMook on April 11, 2012, 02:37:07 AM
-
Next version of NGUI is going to be 2.00. I'm still likely going to be adding a few more things, but NGUI Professional users already have access to it and can use it now. The changes have been fairly extensive, and have a chance of not being 100% backwards-compatible with older versions -- but fortunately all of it is easy to fix and everything was made easier rather than more complicated.
List of changes so far:
- NEW: Redesigned the way UIDragCamera and UIDragPanelContents work, making them much more straightforward.
- NEW: New widget has been added: Scroll Bar. It does exactly what you think it does.
- NEW: UIDraggableCamera script is used on the camera to make it draggable via UIDragCamera.
- NEW: UIDraggablePanel script is used on the panel to make it draggable via UIDragPanelContents.
- NEW: UIDraggablePanel natively supports scroll bars with "always show", "fade out if not needed" and "fade in only when dragging" behaviors.
- NEW: Scroll View (DragPanel) and Quest Log examples have been updated with scroll bars.
- NEW: Reorganized all examples to be in a more logical order -- starting with the basic, common functionality and going up from there.
- NEW: Localization will now try to automatically load the language file via Resources.Load if it wasn't found in the local list.
- FIX: EditorPrefs are now used instead of PlayerPrefs to store editor-related data.
- FIX: Popup list will no longer try to call SendMessage in edit mode.
- FIX: UIEventListener.Add is now UIEventListener.Get, making the function make more sense with the -= operator.
- DEL: Scroll View example that was using UIDragObject has been removed as it's now obsolete.
-
Some examples of the scroll bar being used:
http://www.tasharen.com/ngui/ex7.html
http://www.tasharen.com/ngui/ex9.html
In both of them all I did was simply add a scroll bar using the Widget Tool then referenced it on the UIDraggablePanel script. That's it!
-
Would it be at all possible to get popup list to be scrollable and configured to only show a certain number of lines?
I need to know otherwise I have to figure out an alternate way of doing things currently using popup list for.
ty!
ps: new forums are great!
-
Not in 2.00, but maybe in a future version. For now I suggest finding an alternative until I add it. :)
-
Any thoughts on providing a paging solution for the draggable camera? Something like a photo browsing app that snaps to the next item in the grid.
-
I've thought about it, but it will be in a later version.
-
Looks good. Do you have any estimation as to when non-professional users can get it?
-
In about 20 minutes.
-
It's out. And now the real fun begins... I have to go through all the tutorials and docs and update them to the latest version.
-_-
-
Great tool, thank you. First purchase I have made on the asset store while using unity for almost 2 years now, and definitely worth it.
-
:)
-
Hi Aren!
Great to see that you are adding scroll bars! Any thoughts of expanding the dropdown class to be able to support scroll list if the amount of dropdown items is greater then a value you can specify? Would be great in for example an option menu where you want to have a dropdown to change the resolution, so you don't get a huge dropdown list because the amount of resolution choices and you only want X amount to be visible.
Thanks for a great asset!
regards,
Shelt
-
It's not one of my "soon" features, but perhaps in the future.
-
Any thoughts on providing a paging solution for the draggable camera? Something like a photo browsing app that snaps to the next item in the grid.
This!!
-
This!!
I really wish you would reconsider doing this asap. It *is* pretty standard drop down list functionality, and limits nguis usability imo.
cheers,
pc