public void OnIconPointerUp(PointerEventData eventData, GameObject page) { // Log (TAG, "OnIconPointerUp eventData.position:"+eventData.position); IconController action = currentDragIcon.GetComponent <IconController> (); action.OnPointerUp(eventData); if (!iconMovingInfo.beginIconDrag) { // Log (TAG, "!iconMovingInfo.beginIconDrag"); action.OnEndDrag(eventData); OnIconEndDrag(eventData, page); } }