public void OnPointerClick(PointerEventData eventData) { infoPanel.Activate(this.gameObject.GetComponent <ShopItemData>()); }