void OnDrag(Vector2 delta)
{
if (!enabled || mTouchID != UICamera.currentTouchID) return;
mTrans.localPosition += (Vector3)delta * mRoot.pixelSizeAdjustment;
if (stopDrag)
{
UICamera.currentTouch.dragged = null;
UICamera.currentTouch.pressed = null;
stopDrag = false;
OnDragEnd();
}
}