----------------------------------------------
NGUI: Next-Gen UI kit
Copyright © 2011-2014 Tasharen Entertainment
Version 3.6.8
http://www.tasharen.com/?page_id=197
support@tasharen.com
----------------------------------------------
Thank you for buying NGUI!
PLEASE NOTE that NGUI can only be legally downloaded from the following 3 sources:
1. Unity Asset Store (Standard License)
2. www.tasharen.com (Standard License)
3. github.com/tasharen/ngui (Professional and Site Licenses)
If you've obtained NGUI via some other means then note that your license is effectively invalid,
as Tasharen cannot provide support for pirated and/or potentially modified software.
Documentation can be found here: http://www.tasharen.com/forum/index.php?topic=6754.0
If you have any questions, suggestions, comments or feature requests, please
drop by the NGUI forum, found here: http://www.tasharen.com/forum/index.php?board=1.0
--------------------
How To Update NGUI
--------------------
If you have the Professional or Site License of NGUI that comes with Git access, just pull the latest changes.
If you have a Standard License:
1. In Unity, File -> New Scene
2. Delete the NGUI folder from the Project View.
3. Import NGUI from the updated Unity Package.
---------------------------------------
Support, documentation, and tutorials
---------------------------------------
All can be found here: http://www.tasharen.com/forum/index.php?topic=6754.0
Using NGUI with JavaScript (UnityScript)? Read this first: http://www.tasharen.com/forum/index.php?topic=6
------------------
FreeType Library
------------------
NGUI version 3.5.2 onwards includes the pre-compiled C++ FreeType library, which is an open source project (http://freetype.org/)
FreeType license: http://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/docs/FTL.TXT
This library is used only if you choose the "Generate Bitmap" font option in the Font Maker,
and it will not be included in the build of your game. It's only used in the editor.
-----------------
Version History
-----------------
3.6.8
- NEW: UIWrapContent now has a range limit you can set for indices (such as -10 to 10).
- NEW: Added Transform.OverlayPosition to make it easy to position widgets using 3D object positions.
- FIX: Progress bars / sliders will no longer show the foreground if the value is 0.
- FIX: Changing UI2DSprite.sprite2D will now immediately re-add the widget to the panel.
- FIX: UIDragDropItem will now delay enabling the drag scroll view script (thanks, slumtrimpet!)
- FIX: Re-added a hack-around for Adreno GPU crashes. Looks like Unity 4.5 did not fix the problem, despite the patch notes.
- FIX: Seeing as BetterList is slower at sorting than List, some instances of BetterList were replaced with List.
- FIX: UIPanel's option to cull widgets while the scroll view is being dragged is now on by default.
- FIX: UIRoot now considers WP8 and BlackBerry to be mobile devices.
- FIX: More tweaks for how camera's region gets calculated.
3.6.7
- NEW: Added a lookup table to the atlas in order to make GetSprite() faster.
- NEW: Added OnPostFill functionality to widgets, in case you want to further modify the geometry.
- NEW: Added OnMomentumMove and OnStoppedMoving notifications to UIScrollView in addition to OnDragFinished.
- NEW: Added NGUI -> Extras -> Align Scene View to UI (thanks NikolayLezhnev)
- FIX: UIGrid's smooth snapping will now ignore time scale.
- FIX: Nicki's optimizations (Shader.PropertyToID instead of by name).
- FIX: Null check for 'mKeyboard' being null in UIInput (rare case).
3.6.6
- NEW: UIWrapContent now has a settable delegate to initialize items, and will call it on Start().
- NEW: Added OnDragStarted to the scroll view for those that needed it.
- NEW: Added the missing OnDragOver/OnDragOut to the UIEventListener.
- FIX: Hiding game view behind the scene view should now work as expected (thanks NikolayLezhnev).
- FIX: Localization was not always handling double quotes properly.
- FIX: Mobile keyboard-related fix (thanks niniane).
- FIX: 2D raycasts were not working quite right...
- FIX: Underline and strike-out should now look better and will be affected by the gradient.
- DEL: Commented out NGUITools.OpenURL since it causes network permissions to be used on mobile. Uncomment them if you need them.
- DEL: Cleaned up pre-Unity 4.3 code.
3.6.5
- NEW: Added a way to show the transform gizmo without disabling the drag handles (NGUI->Options).
- NEW: Added an "onCenter" notification to UICenterOnChild.
- FIX: Drag & drop example wasn't working properly due to a missed line in UICamera.
- FIX: UIToggle.value will now return the starting state if the toggle has not yet been activated.
- FIX: WP8/iOS UIInput fix, and force the keyboard to show up when it's in a 'password' mode.
- FIX: Flash compilation fixes.
- FIX: Nicki's optimizations.
3.6.4
- NEW: Added the way to set the label alignment for popup lists.
- NEW: EventDelegate.Add(list, callback) now returns an EventDelegate to work with.
- NEW: Added an option to execute the UICenterOnChild in the editor via right-click.
- FIX: Fix for a regression bug causing bar view foreground's collider was never adjusted properly.
- FIX: UILabel now automatically clears NGUIText font references after using them.
- FIX: Nested anchors set to update in OnEnable will now work as expected when the hierarchy gets re-enabled.
- FIX: Unified inspector look can now be modified properly.
- FIX: Switching from 3D to 2D UI will now remove the 3D rigidbody.
- FIX: Drag & drop example wasn't working properly due to a missed line in UICamera. (3.6.4b)
- FIX: UIToggle.value will now return the starting state if the toggle has not yet been activated (3.6.4b)
3.6.3
- NEW: Added onFinished and Finish() to the Typewriter script.
- FIX: Changed the way "hide input" logic works in UIInput.
- FIX: UIInput was not setting its starting value correctly in some cases.
- FIX: Hide Input setting on the input field is now a separate field.
- FIX: UIlabel.Wrap was not using the provided height.
- FIX: Flash compile fixes.
3.6.2
- NEW: Added an optional different (minimalistic) look for NGUI's components (change via Options -> Inspector Look).
- NEW: Typewriter script can now fade in letters gradually using alpha (have a look at Tutorial 5).
- NEW: You can now embed overriding alpha in text using [Aa] format.
- NEW: UIButton can now swap 2D sprites as well.
- FIX: Embedded color's alpha now also affects the shadow and outline effects.
- FIX: Typewriter effect should now be able to fade in multiple tags properly.
- FIX: Replaced all usage of UICamera.lastHit.point with UICamera.lastWorldPosition (for 2D events).
- FIX: Certain widget elements should now support 2D colliders properly (sliders and such)
- FIX: Fixed an issue with double space in an input field causing issues.
- FIX: Yet more WP8 stuff.
3.6.1
- NEW: NGUI now fully supports 2D colliders, and will create them by default if UICamera is in 2D UI mode.
- NEW: Added a way to automatically switch the entire UI to use 2D or 3D colliders via the NGUI->Extras.
- NEW: Added support for TouchScreenKeyboard.hideInput (input caret, selection, etc on mobiles)
- NEW: Added pre-generated Prefab Toolbar preview icons for Unity Free.
- NEW: EnvelopContent script will now execute itself every time it's enabled, and will update anchors.
- NEW: You can now see your NGUI's version via the Help menu.
- FIX: NGUIText now supports unicode spaces (contributed by Graham Reeves).
- FIX: Popup list was not highlighting the selection properly in some cases.
- FIX: Popup list will now always be closed when any item gets chosen.
- FIX: UIProgressBar will now work properly with 2D sprites and UITextures.
- FIX: Nested scroll views instantiated at run-time should now be clipped properly.
- FIX: Grid will now sort the list of children in GetChildList() since the hack-around didn't work.
- FIX: Localization will load the da