3.12.0
新建:弹出式列表现在可以以编程方式设置项目(理想的匿名委托)接受委托。
新的:添加本地化。3个参数的格式重载和更少以避免GC分配。
-新增:UIWIDGET.SETCOLNONOPHER辅助函数。
-新的:颜色。
-如果对撞机已经已知,则添加一个更新小工具对撞机的快速路径,并强制在小部件启用时使用它。
-新的:为符号着色样式添加了“无轮廓”选项。即使文本没有,符号也不会有轮廓。
FIX:在某些情况下,固定字体的实际打印尺寸不能在检查员正确打印。
-修复:从支持论坛随机小修复。
修复:丢失的本地化条目警告现在只显示一次关键字。
-FIX:在启用鼠标事件的同时,UICamera不再重复分配UICAMA.HoviDeDebug对象。如果悬停对象改变或鼠标移动,现在只指定它。
-修复:NKETExt.SuxTyPurLink/RePalelink的一些问题。
-合并Nicki Hansen拉请求26。
-对照Unity 4.7、5.6和20181B2进行检查。
原文
- NEW: Popup list can now accept delegates when setting up the items programmatically (ideally anonymous delegates).
- NEW: Added Localization.Format overloads for 3 parameters and less to avoid GC allocations.
- NEW: Added UIWidget.SetColorNoAlpha helper function.
- NEW: color.LinearToGammaSpace() helper extension to match color.GammaToLinear().
- NEW: Added a fast path for updating a widget's collider if the collider is already known, and forced it to be used when the widget gets enabled.
- NEW: Added the "No Outline" option to the symbol coloring style. The symbol won't have an outline even if the text does.
- FIX: Fixed an issue with the font's actual printed size not being printed correctly in inspector in some situations.
- FIX: Random minor fixes from the support forum.
- FIX: Missing localization entry warnings will now only be shown once per keyword.
- FIX: UICamera will no longer keep assigning UICamera.hoveredObject repeatedly while mouse events are enabled. It will now only be assigned if the hovered object changes, or the mouse moves.
- FIX: Fixed some issues with NGUIText.InsertHyperlink/ReplaceLink.
- Merged pull request #26 by Nicki Hansen.
- Checked against Unity 4.7, 5.6, and 2018.1b2.