public void OnMouseOver() { if (myDomainCard != null) { //Debug.Log(myDomainCard.cardNameText.text + " " + myDomainCard.cardDescriptionText.text); CardTooltip.ShowTooltip(myDomainCard.cardData.cardName + "\n" + myDomainCard.cardData.cardText); } }
public void ShowDomainTooltip(int tileNumber) { CardTooltip.ShowTooltip(generalData.domainPowers[tileNumber].cardText); }