public void EmptyOut(){
gameObject.transform.Find("background").GetComponent().color = new Color32(255,255,225,0);
gameObject.transform.Find("background").GetComponent().sprite = null;
gameObject.transform.Find("Text").GetComponent().text = "";
type = "";
spell = null;
empty = true;
}

Leave a Reply