public void OnBeginDrag(PointerEventData eventData) { if (!enabled) { return; } offset = Input.mousePosition - transformManager.transform.position; UIEvents.BeginCardDrag(card); }