Patch fixes from 4.6 support

Updated Asset package to 1.0.5
Updated ReadMe

--HG--
branch : develop_5.2
release
Simon (darkside) Jackson 2015-10-29 21:24:51 +00:00
parent 5bd1751993
commit b4666aea02
3 changed files with 13 additions and 4 deletions

View File

@ -29,10 +29,16 @@ To get started with the project, here's a little guide:
--- ---
## Updates: ## ## Updates: ##
Update 1.0.4 Update 1.0.4
[![View Getting Started Video](http://img.youtube.com/vi/oF48Qpaq3ls/0.jpg)](http://www.youtube.com/watch?v=oF48Qpaq3ls "Update 1.0.0.4 for the Unity UI Extensions Project") [![View Getting Started Video](http://img.youtube.com/vi/oF48Qpaq3ls/0.jpg)](http://www.youtube.com/watch?v=oF48Qpaq3ls "Update 1.0.0.4 for the Unity UI Extensions Project")
Update 1.0.5 Update 1.0.5
Few minor fixes and a couple of additional scripts. Predominatly created the new 5.3 branch to maintain the UI API changes from the 5.2.1 Patch releases. 5.3 package is 100% compatible with 5.2.1 Patch releases. Few minor fixes and a couple of additional scripts. Predominatly created the new 5.3 branch to maintain the UI API changes from the 5.2.1 Patch releases. 5.3 package is 100% compatible with 5.2.1 Patch releases.
Update 1.0.6
Added the awesome ReOrderable List control, plus some other minor bugfixes / changes.
Added a new version of the Scroll Snap control as an alternative to the fixed versions.
--- ---
## Controls and extensions listed in this project are: ## ## Controls and extensions listed in this project are: ##
@ -81,6 +87,12 @@ Layout | Description | Menu Command | Component Command | Notes | Credits
|| UI / Extensions / Fixed Item Scroll / Snap Horizontal Multiple Item||| xesenix || UI / Extensions / Fixed Item Scroll / Snap Horizontal Multiple Item||| xesenix
|| UI / Extensions / Fixed Item Scroll / Snap Vertical Single Item||| xesenix || UI / Extensions / Fixed Item Scroll / Snap Vertical Single Item||| xesenix
|| UI / Extensions / Fixed Item Scroll / Snap Vertical Multiple Item||| xesenix || UI / Extensions / Fixed Item Scroll / Snap Vertical Multiple Item||| xesenix
**ReorderableList** | A dynamic control allowing drag and drop of child elements with reordering support | UI/Extensions/Re-orderable Lists/Re-orderable Vertical Scroll Rect|UI/Extensions/Re-orderable list|[Example](http://i.giphy.com/3o85xri0ARKKSfDHIQ.gif)| Ziboo
|| UI/Extensions/Re-orderable Lists/Re-orderable Horizontal Scroll Rect||| Ziboo
|| UI/Extensions/Re-orderable Lists/Re-orderable Grid Scroll Rect||| Ziboo
|| UI/Extensions/Re-orderable Lists/Re-orderable Vertical List||| Ziboo
|| UI/Extensions/Re-orderable Lists/Re-orderable Hirizontal List||| Ziboo
|| UI/Extensions/Re-orderable Lists/Re-orderable Grid||| Ziboo
## Effect components ## ## Effect components ##

View File

@ -44,7 +44,6 @@ namespace UnityEngine.UI.Extensions
//Send OnElementRemoved Event //Send OnElementRemoved Event
if (_reorderableList.OnElementRemoved != null) if (_reorderableList.OnElementRemoved != null)
{ {
Debug.Log("removed");
_reorderableList.OnElementRemoved.Invoke(new ReorderableList.ReorderableListEventStruct _reorderableList.OnElementRemoved.Invoke(new ReorderableList.ReorderableListEventStruct
{ {
DroppedObject = _draggingObject.gameObject, DroppedObject = _draggingObject.gameObject,
@ -58,7 +57,7 @@ namespace UnityEngine.UI.Extensions
//Else Duplicate //Else Duplicate
else else
{ {
GameObject clone = Instantiate(gameObject); GameObject clone = (GameObject)Instantiate(gameObject);
_draggingObject = clone.GetComponent<RectTransform>(); _draggingObject = clone.GetComponent<RectTransform>();
} }
@ -78,7 +77,6 @@ namespace UnityEngine.UI.Extensions
//Send OnElementGrabbed Event //Send OnElementGrabbed Event
if (_reorderableList.OnElementGrabbed != null) if (_reorderableList.OnElementGrabbed != null)
{ {
Debug.Log("Grabbed");
_reorderableList.OnElementGrabbed.Invoke(new ReorderableList.ReorderableListEventStruct _reorderableList.OnElementGrabbed.Invoke(new ReorderableList.ReorderableListEventStruct
{ {
DroppedObject = _draggingObject.gameObject, DroppedObject = _draggingObject.gameObject,
@ -178,7 +176,6 @@ namespace UnityEngine.UI.Extensions
//Send OnelementDropped Event //Send OnelementDropped Event
if (_reorderableList.OnElementDropped != null) if (_reorderableList.OnElementDropped != null)
{ {
Debug.Log("Dropped");
_reorderableList.OnElementDropped.Invoke(new ReorderableList.ReorderableListEventStruct _reorderableList.OnElementDropped.Invoke(new ReorderableList.ReorderableListEventStruct
{ {
DroppedObject = _draggingObject.gameObject, DroppedObject = _draggingObject.gameObject,

Binary file not shown.