Пример #1
0
 public virtual void OnDrag(PointerEventData eventData)
 {
     Drag.SafeInvoke(eventData);
 }
Пример #2
0
 public void OnDrag(PointerEventData eventData)
 {
     Drag.SafeInvoke(_mainCamera.ScreenToWorldPoint(eventData.position));
 }