----------------------------------------------
NGUI: Next-Gen UI kit
Copyright © 2011-2015 Tasharen Entertainment
Version 3.8.1
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.8.1
- NEW: Added Animator to UIToggle in addition to Animation.
- NEW: Added a "long press" tooltip option to UICamera (to show tooltips on touch-based devices).
- NEW: UIKeyBinding now has explicit "none" and "any" modifier key options.
- NEW: UIScrollView's movement dampening strength is now exposed as a property for scripting.
- NEW: Added Transparent Masked shaders for when you want to have clipped masked textures.
- FIX: Label's MakePixelPerfect will no longer snap to dimensions that don't divide by two.
- FIX: UIButton's isEnabled property will now affect all button scripts on the object, not just the first one.
- FIX: Sprite's padding should now be affected by pixel size adjustments.
- FIX: UIPlayAnimation should now work properly with the controller input again.
- FIX: Unity 4.3 compilation fix.
3.8.0
- NEW: Added a way to add TouchScript support to NGUI: http://www.tasharen.com/forum/index.php?topic=12411.0
- NEW: Setting a Unity sprite on a UI2DSprite will now automatically set its border values.
- FIX: Drag & drop script should now again work with press-based activation and cloneOnDrag option.
- FIX: Popup lists should now work better with multi-touch events.
- FIX: Variety of fixes for obscure issues that most would have never encountered.
3.7.9
- NEW: Localization system can now automatically merge localization data coming from multiple sources as well as partial localizations.
- NEW: Command-click = right click is now an option on the UICamera instead of always being on.
- FIX: UIInput's Return key handling was moved to the Update() function to fix an issue with typing quickly and pressing Return causing the last character to be cut off.
- FIX: Forced keyboard and mouse to be turned off for Android devices in UICamera's Awake() function.
- FIX: UICamera will no longer process keyboard events if both keyboard and controller input is turned off.
- FIX: UICamera should now properly handle release and press events being sent in the same frame.
- FIX: Relative anchor slider will no longer get disabled if the user types values outside 0 to 1.
3.7.8
- NEW: Added a validator delegate to the toggle class for when you want to add custom code to prevent state changes before they happen.
- FIX: Some more compile fixes for newer Unity 5 versions.
- FIX: Sliced sprite corners will no longer be drawn if sides were chosen to be hidden.
- FIX: UIPanel no longer makes all of the game objects underneath it be on the same layer. Just widgets.
- FIX: Minor fix for the scroll view recentering.
- FIX: Flash compilation #ifdef.
- FIX: FreeType fix for Unity 5 (64 bit).
3.7.7
- Fix for the drop-down list appearing in the wrong place in some situations.
- You can now choose to merge loaded localization data with existing one. Useful for patching games.
- Added a user-contributed outline8 type label effect.
- Cleaned up new warnings shown in Unity 5.
- Fixes for dynamic font rendering in Unity 5 (underline/strikethrough).
3.7.6
- FIX: Unity 5.0 compilation and functionality compatibility fixes.
- FIX: Work-around for a Unity bug in 4.5.5p3 and p4 (OnValidate not affected by script execution order).
- FIX: Potential work-around for touch events sending mouse events.
- FIX: NGUI texture import will now use automatic true color instead of ARGB32.
- FIX: UIEventTrigger's OnDrag was mistakenly calling the onDragOut callback.
3.7.5
- NEW: UISavedOption now works with progress bars as well.
- NEW: MathiasSoeholm's implementation for Labels with float spacing.
- FIX: UIPopupList opened manually will now close automatically without requiring selection to be set.
- FIX: UICamera will now use proper 'events go to colliders' flag from the first UICamera.
- FIX: Unity 5 compilation tweaks.
- FIX: Flash compilation fixes.
3.7.4
- FIX: UIInput no longer uses OnGUI unless you actually select the input field first (eliminates GC alloc).
- FIX: UIEventTrigger's OnDragStart/OnDragEnd shouldn't have had parameters.
- FIX: UIDragObject should now work properly with a constrained type UIRoot.
- FIX: Key/controller interaction wasn't quite correct with sliders/scroll bars.
- FIX: UIDragObject will now snap to pixels after the movement completes.
3.7.3
- NEW: New clipping option on panels: Texture Mask. Any texture with alpha will work (think round minimap etc).
- NEW: UICamera now has an option for whether events go to colliders or rigidbodies.
- NEW: Added Cell Alignment field to the UITable letting you change the content's alignment.
- NEW: UIGrid now has a "cell snap" arrangement type for when you simply want to have widgets snap as you drag them.
- NEW: 2D Sprites now have a "pixel size" property.
- FIX: Pre-defined texture preview for the Prefab Tool wasn't quite working right.
- FIX: UIPanel now always force-disables the "offset" option if it's on the UIRoot.
- FIX: Handles will now automatically hide when multi-editing widgets, allowing you to use the transform move.
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.