IEnumerator fecharAviso(float waitTime) { yield return(new WaitForSeconds(waitTime)); Aviso.SetActive(false); }
public void warnning2() { Aviso.SetActive(true); Warnning.GetComponent <TextMesh>().text = "Voce nao escolheu" + "\n" + " nenhum item p/ vender"; StartCoroutine(fecharAviso(1.5F)); }
public void warnning() { Aviso.SetActive(true); Warnning.GetComponent <TextMesh>().text = "Voce nao tem" + "\n" + " nenhum item desses!"; StartCoroutine(fecharAviso(1.5F)); }
public void warnning() { Aviso.SetActive(true); Warnning.GetComponent <TextMesh>().text = "Voce nao tem" + "\n" + " dinheiro suficicente!"; StartCoroutine(fecharAviso(1.5F)); }