public void OnDrag(PointerEventData data) { if (gc.HasHeldPiece()) { ghost.position = data.position; } }