----------------------------------------------
NGUI: Next-Gen UI kit
Copyright © 2011-2014 Tasharen Entertainment
Version 3.7.2
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.7.2
- NEW: You can now explicitly choose the panel used as a drag region for UIDragObject.
- NEW: You can now specify a custom thumbnail texture for each item in the prefab toolbar.
- NEW: TweenAlpha and TweenColor now work on Unity's SpriteRenderers.
- NEW: Added UICamera.currentTouch.deltaTime (time since touch started).
- FIX: UIGrid.Reposition should now work even without the component being started first.
- FIX: Widgets with alpha 0 won't be selectable in the scene view anymore.
- FIX: UIDragDropItem wasn't setting 'dragged' state properly if the item was cloned.
- FIX: Alpha text encoding [Aa] style should no longer try to interpret non-hex characters.
- FIX: Tweaks to how UICenterOnChild works and fixes to its paging functionality.
- FIX: Minor fix to tween/play tween in regards to playing in reverse.
- FIX: Bitmap labels now support thin spaces (U2009).
- FIX: PropertyBinding now respects "editMode" flag properly.
- FIX: Setting UILabel.material at run time on a dynamic font should now work as expected.
- FIX: DX9 half pixel offset will now be ignored properly in /force OpenGL mode.
- FIX: You should now be able to use the stylus on android devices.
- DEL: UIInput.selectOnTab is now deprecated in favor of UIKeyNavigation (will auto-upgrade)
3.7.1
- NEW: Added generic delegates to UICamera you can subscribe to (onClick, onHover, etc) to replace the genericEventHandler.
- NEW: Added a new option to UITexture and UI2DSprite to keep the original texture's aspect ratio.
- NEW: Popup list items can now have arbitrary data associated with each entry.
- NEW: You can now choose what kind of click will open the popup list.
- NEW: New text symbol [c] will cause the text that follows it to ignore the label's color tint.
- NEW: Added the missing OnDragStart and OnDragEnd to UIEventListener.
- NEW: UICamera.onMouseMove notification.
- FIX: UICamera will only send events to rigidbodies if there was no UIPanel present.
- FIX: UIPanel will no longer use handles if the camera drawing it is not 2D.
- FIX: Unity 4.3 compatibility.
3.7.0
- NEW: You can now set UIWidget.onRender to change material properties like in OnWillRenderObject.
- NEW: Changing UITexture.mainTexture and shader is now super-quick if it's not batched.
- NEW: UIRoot now has additional scaling constraints enabling new fill and fit modes.
- NEW: Added the ability to ignore kerning information when making bitmap fonts.
- NEW: NGUI's events sent via "3D" and "2D" event type UICameras will now go to the rigidbody instead of colliders.
- NEW: UIKeyBinding now has a new setting "All" that will trigger both select and press/click logic.
- NEW: UICamera.isOverUI, UICamera.currentTouch.isOverUI.
- NEW: NGUI now uses the new rect transform tool instead of the move transform in Unity 4.6+.
- NEW: UIPlaySound now has an OnEnable play option. For convenience.
- NEW: UIEventListener now has OnTooltip.
- NEW: TweenAlpha now works with renderers as well.
- FIX: Removed code that was snapping draw call positions to pixels, allowing you animate panels smoothly.
- FIX: Calling Reposition() on the grid and table now works even if its Start() hasn't executed.
- FIX: Dynamic font baseline calculation work-around for some partial fonts.
- FIX: Center On Child script got semi-broken in the last version.
3.6.9
- NEW: Added loop, play, pause and reset functionality to UI2DSpriteAnimation.
- NEW: Added new automatic support for linear lighting.
- NEW: Added a pivot point setting to UITable to match UIGrid.
- NEW: Added warnings to UIAnchor and UIStretch components that inform the user about them being deprecated.
- NEW: Property binding can now let you select properties that only have either get or set, depending on what's needed.
- NEW: Added settable delegates to UICamera: GetKey, GetKeyDown, GetKeyUp, GetAxis.
- NEW: UIRect has a new anchor update setting: OnStart. It will only update anchors once.
- NEW: Panels have a new option to ignore soft border when constraining scroll view content.
- FIX: Added alexkring's work-around for the rare "texture destroyed" issue in the Atlas Maker.
- FIX: Dragging 2D UI elements into a scene with a 3D UI should no longer create many UI Roots.
- FIX: Labels will now use the draw region, making them usable as the slider's foreground.
- FIX: Localization with multi-line entries would skip the first word.
- FIX: The layout system's anchors should now work even for 3D UIs.
- FIX: UIWrapContent was not setting the restrict within panel flag correctly.
- FIX: UILabel.GetWordAtPosition now works with line breaks properly.
- FIX: Embedded URL retrieval code wasn't capping when it encountered a /url tag.
- FIX: Embedded URL retrieval is now much more precise.
- FIX: Mouse scroll wheel should again work with UICenterOnChild.
- FIX: UILocalize will now change UIButton's normal sprite.
- FIX: UIToggle transitions will now be instant if the value was changed while the toggle is disabled.
- FIX: UIDragDropitem will now work with 2D colliders (thanks HanzaRu).
- FIX: Bold can now be mixed with underline properly.
- DEL: Removed the old "Shader Quality" script that was messing up the refractive atlas.
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 o