----------------------------------------------
NGUI: Next-Gen UI kit
Copyright © 2011-2014 Tasharen Entertainment
Version 3.6.0
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.0
- NOTE: NGUI now requires Unity 4.3.4 or higher!
- NEW: Added a new tool -- Prefab Toolbar. It lets you drop prefabs onto it for easy preview.
- NEW: Unity2D Sprite now has all the same options as an NGUI sprite (sliced, filled, tiled, etc).
- NEW: UITexture now has all the same options as an NGUI sprite.
- NEW: You can now choose components as parameters for functions via inspector.
- NEW: Added support for full RGBA32 color encoding in text (RrGgBbAa).
- NEW: UISpriteAnimation example script now has pixel snap setting as optional.
- NEW: Extended the Typewriter Effect script with additional functionality.
- FIX: In some cases changing sprites on a prefab wouldn't "take".
- FIX: WP8/WSA fixes, courtesy of LoneCoder from the forums.
- FIX: Pixel-snap a tiled sprite should no longer revert it to single sprite's dimensions.
- FIX: Nested scroll views were not culling widgets properly in some cases when scrolled.
- FIX: Calculating widget dimensions will now ignore widgets in clipped panels.
3.5.9
- NEW: Added an event delegate drawer in case you want to use the Event Delegate in your own scripts.
- NEW: You can now explicitly specify what the Return key will do on the input field regardless of the label's multi-line setting.
- NEW: Added GetIndex() to UIGrid and improved its look in the inspector.
- FIX: Scroll view will no longer jump back and forth by 1 pixel when it's not using momentum.
- FIX: Input fields should respect the "starting value" if the "saved as" is left blank.
- FIX: Text printing issue if the line begins with a double space.
- FIX: You can now call UIButton.ResetDefaultColor to restore the original color, even after setting 'defaultColor' to something else.
- FIX: UIKeyNavigation will now respect UIButton's isEnabled state if it's present.
- FIX: UIPlaySound will now respect UIButton's isEnabled state if it's present.
- FIX: UIDrawCall copy material creation now also copies shader keywords.
- FIX: UICamera.inputHasFocus should now work properly again.
- FIX: The Sorting Order will now always be exposed on the UIPanel in inspector.
- DEL: Moving DataNode over to TNet since it makes a lot more sense to have it there instead of in NGUI.
3.5.8
- NEW: Added a generic node-based class for simple text-based serialization (DataNode).
- NEW: UITexture now has flip options just like UISprite.
- NEW: Moved the SetRect function from UIWidget to UIRect, making it usable by panels as well.
- NEW: Added convenience add and remove functions to the UIGrid.
- NEW: Added NGUIMath.ScreenToPixels for when you need to convert from screen to virtual pixels.
- NEW: UIButton's SetState is now public, in case you need it.
- NEW: UIInput.caret is now exposed in case you need it.
- FIX: Re-added the "New" button to the atlas maker that was removed for no reason.
- FIX: Added [NonSerialized] next to private variables. Unity apparently serialized private variables in prefabs (sigh).
- FIX: "Flip" option is now exposed in inspector with tiled sprites.
- FIX: Changed all "HIDDEN" shaders to be "Hidden" instead, effectively hiding them.
- FIX: Text list should no longer break when a very long line of text is added.
- FIX: DragDropItem script wasn't un-highlighting things quite right.
- FIX: Clip softness can now be 0.
- DEL: Localization is now a static class, and can no longer be included in the scene.
3.5.7
- NEW: Added OnDragOver/OnDragOut to the Event Trigger.
- FIX: Event delegate compilation on platforms that don't support reflection.
- FIX: The example tooltip should no longer go off-screen.
- FIX: Exposed UISprite's 'flip' option to scripting.
- FIX: Context menu 'Attach' options should now work with multiple objects selected.
- FIX: 'Attach' menu options should now all be undo-able via CTRL+Z.
- FIX: Exposed UIButton.state for those that may need it for any reason.
- FIX: UICamera's raycasts can now be clipped by nested panels.
- FIX: MakePixelPerfect should not change the width if the label is set to "resize height".
- FIX: Made UIButton.isEnabled work with a 2D collider.
- FIX: Unity 4.2 compatibility tweaks.
- FIX: Clip softness can now be 0.
3.5.6
- NEW: Added basic built-in data binding support (PropertyBinding script).
- NEW: All delegates now support any number of parameters that you can set in inspector.
- NEW: You can now nest scroll views (scroll views within scroll views). The built-in shaders support up to 3 scroll views, but you can add more.
- NEW: You can now nest non-clipped panels within clipped panels and clipping will still work.
- FIX: Fix for scroll bar size being wrong if the content was smaller than the scroll view.
- FIX: UIInput will now load the saved value properly even if the "starting value" is not empty.
- FIX: Drag & drop item will now always disable the tween or spring effect when it begins dragging.
- FIX: UICamera's 'inputHasFocus' flag is now set when selection changes rather than every frame.
- FIX: Anchors set to update only in OnEnable will now still update while in edit mode.
- FIX: Triggering ActiveAnimation.Play will now immediately sample the animation.
- FIX: Fixed the bug that was causing the atlas maker to eat up CPU.
3.5.5
- NEW: Added built-in support for endless scroll view (UIWrapContent).
- NEW: Added a new example showing how to make endless scroll views.
- NEW: Added an "Pivot" setting to the UIGrid that controls how the content is positioned.
- NEW: Keyboard and controller navigation has been simplified (UIKeyNavigation).
- NEW: Added EnvelopContent example script that shows how to resize a sprite to envelop custom content.
- NEW: Widget anchors now have an option to be executed only when enabled, rather than every update.
- FIX: UIWidget.SetRect will now work properly again.
- FIX: Unity 4.0, 4.1 and 4.2 compile fix.
3.5.4
- NEW: You can now bake basic effects into bitmap fonts via inspector: soft shadow, soft