Dragging gameobject.


  • Handle (optional): GameObject used to drag current GameObject.
  • Horizontal: allow horizontal drag movement.
  • Vertical: allow vertical drag movement.
  • Restriction:
    • None: no restriction.
    • Strict: does not allow drag outside parent.
    • After Drag: does not allow drag outside parent, applied when drag ended.
  • Curve: Animation curve used to animate applied After Drag restriction.
  • UnscaledTime: animate applied After Drag restriction with unscaled time.