void Your_name_fuction() { TxtPontosPistas.gameObject.SetActive(true); StartCoroutine(Timing_toWait(4f)); } IEnumerator Timing_toWait(float waitTime) { yield return new WaitForSeconds(waitTime); TxtPontosPistas.gameObject.SetActive(false); }