public void OnPointerClick(PointerEventData eventData) { if (cardSelectBehaviour) { cardDisplay.CardSelected(this); } else { cardDisplay.transform.SendMessage("OnPointerClick", eventData); } }