showLatestItem()

Found in:

private void showLatestItem(){
      gameObject.transform.Find("background").GetComponent().color = new Color32(255,255,225,225);
      gameObject.transform.Find("background").GetComponent().sprite = cardTemplate.GetImage(lastItem.element.ToString(), "inventorybg");
      gameObject.transform.Find("Text").GetComponent().text = lastItem.title;
    }


Comments

Leave a Reply

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