private void ShowLatestCombo()
{
gameObject.transform.Find("background").GetComponent().color = new Color32(255, 255, 225, 225);
gameObject.transform.Find("background").GetComponent().sprite = cardTemplate.GetImage(lastCombo.comboElement.ToString(), "background");
gameObject.transform.Find("Text").GetComponent().text = lastCombo.comboName;
}

Leave a Reply