public void OnEndDrag(PointerEventData eventData) { if (!isDragSelf && LoopScrollRect != null) { LoopScrollRect.OnEndDrag(eventData); } selfRectTransform.anchoredPosition = localPos; }
public void OnEndDrag(PointerEventData eventData) { if (IsScrolling) { scrollRect.OnEndDrag(eventData); IsScrolling = false; Parent = null; } }
public void OnEndDrag(PointerEventData eventData) { //Debug.Log("OnEndDrag"); if (mScrollRect != null) { mScrollRect.OnEndDrag(eventData); } if (mMouseEngDrag != null) { mMouseEngDrag(gameObject, eventData); } }