Author Topic: Latest Version: 2018.3 (December 13, 2018)  (Read 451684 times)

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Latest Version: 2.5.0
« Reply #30 on: April 03, 2013, 09:41:06 AM »
2.5.1
- NEW: Added a "shrink to fit" option for labels that will scale down the text if it doesn't fit.
- FIX: Re-added the "import font" field in the font inspector.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Latest Version: 2.5.1
« Reply #31 on: April 19, 2013, 06:29:42 PM »
2.6.0
- NEW: Added dynamic font support for Unity 4.0.
- NEW: Handles can now be toggled on/off from the NGUI menu.
- NEW: Atlas maker will now be limited by max texture size, and will no longer make it possible to corrupt an atlas.
- NEW: Warning will be shown on the panel if clipping is not possible (GLES 1.1).
- NEW: Checkbox can now have fade in the checkmark instantly.
- NEW: You can now leave C++ style comments (//) in the localization files.
- NEW: You can now paste into input fields in stand-alone builds.
- NEW: Added disabled state to UIImageButton (Nicki)
- FIX: UISlider will now use the sprite size rather than collider size to determine the touch effect area.
- FIX: Resetting the tween will now mark it as not started.
- FIX: Blank labels will no longer be localized.
- FIX: Resetting the sprite animation will also reset the sprite back to 0.
« Last Edit: June 19, 2013, 01:28:36 PM by ArenMook »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Latest Version: 2.5.1 (Standard), 2.6.0 (Pro)
« Reply #32 on: May 03, 2013, 11:16:42 AM »
2.6.1
- FIX: Dynamic font-related fixes.
- FIX: Depth pass will now be force-disabled when the panel is clipped.
- FIX: Sticky press option on the UICamera no longer breaks OnDrop events.
- FIX: UIInput's useLabelTextAtStart should now work again.
- FIX: UICamera.touchCount should now be accurate.
- FIX: Fixed a typo in the image button inspector.
- FIX: UIWidget.UpdateGeometry will now check for object's disabled state prior to filling the geometry.
« Last Edit: June 19, 2013, 01:28:21 PM by ArenMook »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Latest Version: 2.6.1e
« Reply #33 on: June 01, 2013, 03:14:49 PM »
2.6.2:
- NEW: You can now automatically apply alpha pre-multiplication to textures when creating an atlas.
- NEW: Added UIWidget.Raycast to perform a raycast without using colliders.
- NEW: Added a texture preview to UITexture.
- NEW: Added an option to UIAnchor to run only once, and then destroy itself. Also optimized it slightly.
- NEW: Transform inspector will now gray out fields that are not commonly used by the UI when a widget is selected.
- FIX: Transform multi-object editing was not quite right for widgets...
- FIX: "Shrink to fit" option on labels now works vertically, not just horizontally.
- FIX: Changing a sprite in inspector will no longer auto-resize it. Use MakePixelPerfect to resize it.
« Last Edit: June 19, 2013, 01:28:15 PM by ArenMook »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Latest Version: 2.6.2
« Reply #34 on: June 15, 2013, 06:45:54 AM »
2.6.3:
- NEW: Noticeably improved performance and garbage collection when using Unity 4.1+
- NEW: It's now possible to select sprites in the Atlas Maker for preview purposes.
- NEW: Transform inspector will now warn you when widget panel is marked as 'static'.
- NEW: You can now toggle the panel's "widgets are static" flag from within the panel tool.
- FIX: Widgets will no longer be constantly checking for layer changes in update.
- FIX: Shrink-to-fit labels will now auto-grow when possible.
- FIX: Labels can no longer be resized using handles (but can still be moved and rotated).
- FIX: Labels will now auto-adjust their size properly when the max width gets adjusted.
- FIX: Creating an atlas would rarely throw a null exception. This has been fixed.
- FIX: Draggable panel + non-sticky keys will now mix properly.
- FIX: Drag & drop should now work with non-sticky press.
- FIX: Flash export should now work again.
- DEL: Dropped all remaining support for Unity 3.4.
« Last Edit: June 19, 2013, 01:59:11 PM by ArenMook »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Latest Version: 2.6.3
« Reply #35 on: July 30, 2013, 12:24:06 AM »
2.6.4:
- NEW: UIStretch now has the 'run once' option matching UIAnchor.
- FIX: Non-sticky press was not working quite right...
- FIX: Rewrote the transform inspector. It should now work properly with multi-object selection, and do it with only 40% of the code.
- FIX: Removed the "depth pass" option from the panel's inspector since 99.9% of the people were mis-using it.
- FIX: UIButtonKeys.startsSelected got broken at some point.
- FIX: UIPopupList now respects atlas pixel size and again works correctly for menu style popups.
- FIX: UIPanel will no longer keep references to materials when disabled.
- FIX: Assortment of other minor fixes.
« Last Edit: August 02, 2013, 09:48:14 PM by ArenMook »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Latest Version: 2.6.5
« Reply #36 on: September 03, 2013, 04:13:57 AM »
2.6.5:
- FIX: Labels now have "Max Height", and "Max Lines" again works as expected.
- FIX: Widgets no longer store a reference to texture and material.
- FIX: Fix for some issues with the dynamic fonts.
- FIX: Removed the "password" setting from UILabel in order to clear up some confusion.
- FIX: Transparent colored shader no longer has fixed function pipeline code inside.
- FIX: Atlas maker will now be more perforce-friendly.
- FIX: Popup list will no longer show on Click when the Popup List script is disabled.
- FIX: NGUIMath.Calculate functions will now ignore recently disabled widgets.
- FIX: UIWidget will no longer attempt to create a panel until after Start().
- FIX: UICamera.touchCount and UICamera.dragCount will now work correctly with multi-touch turned off.
- FIX: WP8 and BB10 tweaks.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Latest Version: 2.7.0 (Standard), 3.0.0 beta 2 (Professional)
« Reply #37 on: September 11, 2013, 01:30:43 PM »
2.7.0:
- NEW: Added a way to resolve all Depth/Z issues. Check your UIPanels and enable Depth Sorting.
- FIX: DownloadTexture no longer leaves a shadow of the previous texture behind.
- FIX: UIDragObject will no longer behave oddly with multiple touches.
- FIX: Popup menu will now correctly trigger OnChange functions on the same selection.
- FIX: UITexture will now default to the Unlit/Transparent Colored shader.
- FIX: Atlas Maker will no longer default sprite list to be hidden.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Latest Version: 2.7.0 (Standard), 3.0.0 beta 2 (Professional)
« Reply #38 on: September 11, 2013, 01:41:52 PM »
*** WARNING ***
PLEASE BACK UP YOUR PROJECT BEFORE UPDATING!
3.0.0 is a major changeset. You will need to open and re-save all of your scenes and prefabs after updating!
After updating, it is HIGHLY likely that your project will no longer compile as-is. All event delegates have been replaced with an inspector-based system, and transform scale is no longer used on widgets. Check the built-in examples and code to see what should be done instead. There will be a detailed upgrade guide later.

3.0.0:
- NEW: Changed the way widgets get batched, properly fixing all remaining Z/depth issues.
- NEW: Draw calls are now automatically split up as needed (no more sandwiching issues!)
- NEW: Re-designed the way widget width & height gets specified. The values are now explicit, and scale is no longer used.
- NEW: NGUI will now automatically replace UITextures with Sprites when they get added to an atlas.
- NEW: It's now possible to have clipped panels in 3D and not have them break when tilting the camera.
- NEW: It's now possible to nest widgets.
- NEW: It's now possible to have multiple widgets on the same object.
- NEW: It's now possible to change the selection handles color via the NGUI menu.
- NEW: UICheckbox is now a UIToggle, and you now specify a 'group' ID rather than a common root object.
- NEW: Added TweenWidth and TweenHeight to tween widgets width and height properties.
- NEW: You can now specify the label overflow method: shrink content, clamp content, resize height, or resize freely.
- NEW: When labels are in "resize label" overflow mode, the drag handles will be greyed out.
- NEW: Added a simple EventDelegate class and improved all generic components to use it.
- NEW: Added a Widget Container class that can be used to easily select and move groups of widgets (think: buttons, windows).
- NEW: Added the RealTime helper class that removed IgnoreTimeScale. Usage: RealTime.time, RealTime.deltaTime.
- NEW: Improved the inspector look of just about every component.
- NEW: UIPanel now shows a list of all of its draw calls and the widgets causing them.
- NEW: Added a way to auto-normalize the depth hierarchy from the NGUI menu.
- NEW: Sprite selection window now shows sprite names as well.
- NEW: Atlas maker will now automatically sort the sprites, saving them in an alphabetical order.
- FIX: CTRL+ and CTRL- now adjust all widgets under the selected object.
- FIX: Labels will now again align vertically properly.
- FIX: Atlas maker will now respect textures that were imported with a non-native size.
- FIX: Atlas maker will no longer change so many import settings on source textures.
- FIX: Make Pixel Perfect is now undoable.
- FIX: You can once again rename sprites in the atlas.
- DEL: Removed the long-ago deprecated UISlicedSprite, UITiledSprite, and UIFilledSprite classes and some other legacy code.

Event Delegates Upgrading Tips

Subscribe to built-in event delegates (like input change, tweens finishing, slider change, button click, etc) like so:
  1. EventDelegate.Add(slider.onChange, MySliderChange);
...where MySliderChange can be:
  1. public void MySliderChange()
  2. {
  3.     Debug.Log(UISlider.current.value);
  4. }
However (!!!) -- you can now set the same value in inspector instead of code, if you like. Just drag & drop the game object, then choose the "MySliderChange" function from the drop-down list. No need to code it anymore. Just make sure the function is of type "void (void)", and is public.

Widget Size/Scale Upgrading Tips

Widgets no longer use their transform's scale at all. You can now use widget.width and widget.height instead. If you need to know world-space corners, just use widget.worldCorners. Local space corners -- widget.localCorners. There is also widget.innerCorners if you need it.

Other Upgrading Tips

* Open each scene in your project, then save them. Make sure to enable all of your game objects, as the upgrade logic only kicks in once the widgets are enabled.
* Drag in your widget-using prefabs into the scene (so they show up), then apply the changes so that the prefabs also get upgraded.
* Globally replace "UICheckbox" with "UIToggle".
* UICheckbox no longer has a 'root', so go through your radio buttons and give them a group ID instead.
* "Make Pixel Perfect" button is now just called "Correct", beside the widget's dimensions.
« Last Edit: September 20, 2013, 03:25:37 AM by ArenMook »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Latest Version: 3.0.0
« Reply #39 on: September 21, 2013, 06:02:26 AM »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Latest Version: 3.0.1
« Reply #40 on: September 29, 2013, 10:28:46 PM »
3.0.1:
- FIX: Variety of regression fixes from NGUI 3.0.0 that culminated into alphabetic (bug-fix) micro-updates.
- FIX: MakePixelPerfect on selection no longer stops if it finds a UIWidget. It continues on to children.
- FIX: Atlas Maker will keep the border setting of sprites being replaced.
- FIX: UILabels will no longer MakePixelPerfect when their text is assigned.
- FIX: Marking widgets as changed will now mark them as edited in Unity.
- FIX: Sliced sprite border will again take pixel size into consideration.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Latest Version: 3.0.1
« Reply #41 on: October 03, 2013, 04:01:06 AM »
3.0.2
- NEW: Added a "depth" property to the panels to make it possible to easily change their draw order.
- NEW: UICamera now has "world" and "UI" event types that affect how raycasts are processed.
- NEW: Collider's Z position no longer needs to be adjusted for widgets if the UICamera is set to the "UI" event type.
- NEW: UICamera's raycasts now go by widget and panel depth rather than by distance to the colliders.
- NEW: UIPanels now can show all draw calls instead of just their own.
- NEW: UIStretch can now stretch clipped panels.
- FIX: UITable was bugged with the "Up" direction.
- FIX: Labels will process their text before returning the corners.
- FIX: UIAnchor was not calculating widget-related anchoring properly.
« Last Edit: October 05, 2013, 03:26:32 AM by ArenMook »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Latest Version: 3.0.3
« Reply #42 on: October 25, 2013, 08:25:56 PM »
3.0.3:
- NEW: You no longer need to create UIFonts for dynamic fonts and can now specify font size and style directly on your labels.
- NEW: As dynamic font-using label shrinks, it can automatically print with lower font size, maintaining its crispness.
- NEW: You can now multi-edit sprites and labels.
- NEW: UIInput has been redone, and now supports moving the caret as well as copy/paste keys in the editor.
- NEW: UIInputValidator script's functionality is now a part of UIInput.
- NEW: You can now create invisible widgets in case you want a simple way of intercepting events.
- NEW: You can now use anonymous delegates with the EventDelegate.
- FIX: UICamera.selectedObject changes are now delayed until end of frame.
- FIX: GUI/Text shader is no longer used, replaced with an Unlit/Text shader instead.
- FIX: Added a by-material sorting clause to widgets with conflicting depth, automatically reducing draw calls.
- FIX: Some UITextures were still mistakenly referencing the Unlit/Texture shader.
- FIX: Mouse events will no longer be processed if there are active touch events.
- FIX: Popup list was not respecting the text scale correctly.
- FIX: CalculateRaycastDepth will now ignore disabled widgets.
- FIX: WP8 compile fix.
- EDT: UILabel.font is now UILabel.bitmapFont, for clarity.
- DEL: UILabel no longer has the 'password' option since it never made sense to have it there to begin with.
- DEL: Got rid of the UpdateManager. It really should have been killed 2 years ago.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Latest Version: 3.0.3f
« Reply #43 on: October 30, 2013, 06:12:56 AM »
3.0.4 (merged 3.0.3 letter updates)
- NEW: UIPanel will now show the render queue number used to draw the geometry.
- NEW: You can now specify a bitmap font in the widget wizard.
- NEW: Added the ability to auto-resize the widget's box collider.
- FIX: Draggable panel's scroll bars will now hide correctly when they should be hidden.
- FIX: Scroll bar will no longer force the sprite to be pixel perfect.
- FIX: UIInput was not hiding the password characters on deselect.
- FIX: Additional checks to ensure the UILabel cleans up texture rebuild callbacks.
- FIX: Adjusting the depth of a panel via NGUITools.AdjustDepth will now affect child panels.
- FIX: UILabel.ProcessAndRequest was not calling ProcessText for labels using bitmap fonts.
- FIX: Labels with encoded colors will now wrap properly.
- FIX: It's no longer possible to set the sprite width and height to zero before assigning a sprite.
- FIX: Raycasts that hit no widgets will now be ignored.
- FIX: Fixed out of bounds exception when labels ended with [-].
- FIX: UIWidget.ResizeCollider no longer does anything if the widget is disabled.
- FIX: UIInput will no longer clear the text of multiple labels on mobile platforms.
- FIX: UIInput.Submit() now sets the UIInput.current correctly.
- FIX: Backwards compatibility additions.
- FIX: Event delegate setting fix.
- FIX: Unity 3.5 fixes.
- FIX: WP8 fixes.
« Last Edit: November 03, 2013, 11:00:37 AM by ArenMook »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Latest Version: 3.0.4
« Reply #44 on: November 09, 2013, 10:07:13 AM »
3.0.5
- NEW: Added a way to set Localization's language using specified name and dictionary combo
- NEW: Added UIInput.onChange that gets called whenever the input field's text changes for any reason.
- NEW: Right-clicking in the scene view with a UI element selected now presents the hierarchy list underneath.
- FIX: Widget selection logic had a bug in it that would select the wrong widget in some cases.
- FIX: Label "Max Lines" setting now works correctly with the "Shrink Content" overflow setting.
- FIX: Draggable panel now uses whole numbers, keeping itself pixel-perfect.
- FIX: UIPlayAnimation will now work fine with multiple OnFinished calls.
- FIX: Made UITextList work with dynamic font-using labels.
- FIX: Popup list was not serializing dynamic fonts correctly.
- FIX: UILabel will no longer use minimum size of zero.
- FIX: Color symbols were not recognized quite right.
- FIX: BetterList.Sort now uses Array.Sort.
- FIX: Removed warnings in Unity 4.5.
- FIX: Null check on UIInput.Append.
- FIX: Flash platform compile fixes.