示例#1
0
 public void OnDrag(PointerEventData eventData)
 {
     if (_dragging)
     {
         transform.parent.position = Input.mousePosition;
         _objectView.SetPosition(transform.parent.position);
     }
 }