纳金网

标题: Unity3d 4 6b9 win32 [打印本页]

作者: glenndai    时间: 2014-6-6 09:37
标题: Unity3d 4 6b9 win32
Upgrade Guide
◾Behavior of masking has changed. By default graphics have masking disabled. To enable it you can set the 'maskable' property to true via script or via the debug inspector. The default editor currently does not expose the property.
Improvements
◾Core: Add GetComponents<List<T>> Will fetch components of type T and grow the list as needed.
◾Core: Add StopCoroutine(Coroutine) function
◾Core: Add callback 'OnTransformParentChanged' to MonoBehaviour. Called whenever a transform, or one of it's parent transforms has been reparented
Known Issues◾Input field caret lags behind by 1 character.
◾Multicanvas support is broken.
The following are changes and fixes to 4.6 features and regressions...
Changes
◾uGUI: Auto layout options for an element are now specified by adding a LayoutElement component on that element rather than setting them in the parent layout group. All children of a transform are now automatically included in a layout group on that transform and their order in the layout are determined by the child order in the Hierarchy.
◾uGUI: FreeformLayoutGroup has been removed since it doesn't fit into the design we're moving towards with the layout system. It was mostly useful together with Text components with the ResizeBounds options, but we're going to remove that option down the line. Instead, the new ContentSizeFitter component will do that job.
◾uGUI: The FitHorizontal and FitVertical properties on the layout groups have been removed. A new ContentSizeFitter has been added which can be used instead, and which has the advantage of also being able to be used directly on the same GameObject as e.g. an Image or Text component.
◾Editor: RectTransform.drivenByObject has been removed from the API since it was too easy to make mistakes where RectTransforms would get stuck as driven. Instead components that should drive RectTransforms should use the new DrivenRectTransformTracker struct.
◾uGUI: Remove tween classes from public API, since the long term plan is to move to using animation for everything.
◾uGUI: Rename Graphics DoColorTween and DoAlphaTween to CrossFadeColor and CrossFadeAlpha.
◾uGUI: EventSystem.IsPointerOverEventSystem(pointerId) will tell you if a pointer is over some object controlled by the event system
Improvements
◾Editor: Concept of driven RectTransform properties has been implemented. When setting a RectTransform to be driven, a mask is specified that controls which properties are driven. Driven properties are controlled by script and can't be set manually in the Inspector. They also always serialize as zero, to avoid merge conflicts. The drivenProperties are specified through the DrivenRectTransformTracker. The driven mask values for PositionZ, Rotation, and Scale are not yet fully implemented in beta 9.
◾uGUI: Auto-Layout system now no longer does its calculations every frame but instead when it's needed due to changes in components that affect the layout.
◾uGUI: Text Improvements:
◾ Add horizontal and vertical overflow modes to Text
◾ 'Best Fit' with Min / Max size
◾uGUI: Add callback Canvas.willRenderCanvases. This is called just before Canvas rendering
◾uGUI: Add GetMaterial() to UIRenderer
◾uGUI: Deferred Graphic updates: Graphics are now updated just before rendering instead of being updated as properties change, this means that vertices ect will only be updated once per frame. You can mark a Graphic as dirty by calling SetDirty() or Canvas.MarkGraphicForRebuild(Graphic graphic). Note: In a future release Canvas.MarkGraphicForRebuild(Graphic graphic) will be refactored to take an interface so custom components will work with is also.
◾uGUI: Performance improvements (moved performance sensitve code into C++)
◾uGUI: Greatly improve memory usage (remove many GC allocations)
◾uGUI: The Slider component now drives the anchors of the handle RectTransform.
◾uGUI: The ContentSizeFitter component drives the width and/or height of a RectTransform as well as anchorMax to ensure it's the same as anchorMin.
◾uGUI: Make UI objects created from menu have default localScale and localRotation.
◾uGUI: EventSystem now send enter and exit events even it the mouse isnt moving as items behind could be moving
◾uGUI: Canvas will now distance sort properly in world
◾uGUI: SpriteSwap transitions no longer ask for a Normal Image. It will use the Source Image from the Image Component.
Fixes◾uGUI: Update the canvas rect transform when a property is changed on the canvas.
◾uGUI: World Canvas's now render in a more correct order with everything else.
◾uGUI: Screen space canvas's will now only be drawn once.
◾uGUI: Fix bug with batch ordering (many less batches generated now)
◾uGUI: Clear animation state on buttons before retriggering. Stops buttons getting stuck in highlighted state
◾uGUI: Auto layout components no longer cause the scene to be dirtied.
◾uGUI: Fix sometimes not being able to select the first Graphics of a Canvas
◾UnityEvents: Fix minor bugs with UnityEvent Property Drawer
◾Editor: Don't show sibling anchors for RectTransform siblings that are not activeInHierarchy.
◾Editor: Immediately update any Canvas when changing the Game View resolution/aspect-ratio.
◾Editor: Immediately update any Canvas when making the Game View visible in-case it was resized whilst invisible.
◾Core: Fix precision errors in Camera.ScreenPointToRay that could cause jittery movement when dragging handles in the Scene View.
e0260384098e.jpg

4.6b9.zip

20.53 KB, 下载次数: 15

种子


作者: wusky751023    时间: 2014-6-6 17:52
又更新了~
感謝G大
作者: hyui    时间: 2014-6-6 19:14
This is great share!
作者: ku    时间: 2014-6-6 19:35
别急着更新unity3d 5 指日可待
作者: tangqizuse    时间: 2014-6-6 23:25
新人学习了
作者: 网络骑士    时间: 2014-6-6 23:37
感谢分享
作者: jianjinggy    时间: 2014-6-7 02:50
感谢分享!!
作者: shenyg77    时间: 2014-6-7 22:05
谢分享!!
作者: wucnj    时间: 2014-6-7 22:48
感谢分享!!!
作者: heroboy    时间: 2014-6-9 12:16
看看。。。。。
作者: 毛毛虫    时间: 2014-6-13 13:44
这个也要收费啊?
作者: animan    时间: 2014-6-17 16:31
谢谢分享。。。。。。。。
作者: jacob    时间: 2014-6-17 17:57

感谢分享~~~




欢迎光临 纳金网 (http://www.narkii.com/club/) Powered by Discuz! X2.5