public void OnSelect(BaseEventData eventData) { if (HasCard) { cardPanel.SelectCard(cardData); } cardListControl.ZoomToCard(gameObject); }