|
@@ -206,6 +206,7 @@ public class MenuUI : MonoBehaviour, IBeginDragHandler, IDragHandler, IEndDragHa
|
|
|
|
|
|
public void OnDrag(PointerEventData eventData)
|
|
|
{
|
|
|
+ return;
|
|
|
float _delta = eventData.delta.x / _maxDragValue;
|
|
|
|
|
|
if (_delta < -0.1f)
|
|
@@ -390,6 +391,7 @@ public class MenuUI : MonoBehaviour, IBeginDragHandler, IDragHandler, IEndDragHa
|
|
|
|
|
|
public void OnEndDrag(PointerEventData eventData)
|
|
|
{
|
|
|
+
|
|
|
|
|
|
for (int i = 0; i < _menuElementGroup.Count; i++)
|
|
|
{
|
|
@@ -599,7 +601,7 @@ public class MenuUI : MonoBehaviour, IBeginDragHandler, IDragHandler, IEndDragHa
|
|
|
{
|
|
|
for (int i = 0; i < _elementDataGroup.Count; i++)
|
|
|
{
|
|
|
- _elementDataGroup[i]._isDrag = isDrag;
|
|
|
+ _elementDataGroup[i]._isDrag = false;
|
|
|
}
|
|
|
}
|
|
|
|