ShowLatestCombo()

Found in:

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;
    }


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *