예제 #1
0
 public void OnEndDrag(PointerEventData eventData)
 {
     if (!isDragSelf && LoopScrollRect != null)
     {
         LoopScrollRect.OnEndDrag(eventData);
     }
     selfRectTransform.anchoredPosition = localPos;
 }
예제 #2
0
 public void OnEndDrag(PointerEventData eventData)
 {
     if (IsScrolling)
     {
         scrollRect.OnEndDrag(eventData);
         IsScrolling = false;
         Parent      = null;
     }
 }
예제 #3
0
    public void OnEndDrag(PointerEventData eventData)
    {
        //Debug.Log("OnEndDrag");
        if (mScrollRect != null)
        {
            mScrollRect.OnEndDrag(eventData);
        }

        if (mMouseEngDrag != null)
        {
            mMouseEngDrag(gameObject, eventData);
        }
    }