コード例 #1
0
    IEnumerator fecharAviso(float waitTime)
    {
        yield return(new WaitForSeconds(waitTime));

        Aviso.SetActive(false);
    }
コード例 #2
0
 public void warnning2()
 {
     Aviso.SetActive(true);
     Warnning.GetComponent <TextMesh>().text = "Voce nao escolheu" + "\n" + " nenhum item p/ vender";
     StartCoroutine(fecharAviso(1.5F));
 }
コード例 #3
0
 public void warnning()
 {
     Aviso.SetActive(true);
     Warnning.GetComponent <TextMesh>().text = "Voce nao tem" + "\n" + " nenhum item desses!";
     StartCoroutine(fecharAviso(1.5F));
 }
コード例 #4
0
 public void warnning()
 {
     Aviso.SetActive(true);
     Warnning.GetComponent <TextMesh>().text = "Voce nao tem" + "\n" + " dinheiro suficicente!";
     StartCoroutine(fecharAviso(1.5F));
 }