Ejemplo n.º 1
0
 public void OnBeginDrag(PointerEventData eventData)
 {
     _selectedRect = Rect.zero;
     _selectionFrame.SetVisibility(true);
     _selectionFrame.UpdateRect(_selectedRect);
     _startDragPosition = _selectionCoordinatesConverter.GetPositionFromPointerEventData(eventData);
 }
Ejemplo n.º 2
0
 private Vector3 GetPositionFromPointerEventData(PointerEventData eventData)
 {
     return(_selectionCoordinatesConverter.GetPositionFromPointerEventData(eventData));
 }