private void Start() { soundController = FindObjectOfType(typeof(soundCotroller)) as soundCotroller; carregarPreferencias(); painel1.SetActive(true); painel2.SetActive(false); }
// Start is called before the first frame update void Start() { soundCotroller = FindObjectOfType(typeof(soundCotroller)) as soundCotroller; idTema = PlayerPrefs.GetInt("idTema"); notaMin1Estrela = PlayerPrefs.GetInt("notaMin1Estrela"); notaMin2Estrela = PlayerPrefs.GetInt("notaMin2Estrela"); nomeTemaTxt.text = PlayerPrefs.GetString("nomeTema"); barraTempo.SetActive(false); if (perguntasComIMG == true) { montarListaPerguntasIMG(); } else { montarListaPerguntas(); } progressaoBarra(); controleBarraTempo(); paineis[0].SetActive(true); paineis[1].SetActive(false); }
// Start is called before the first frame update void Start() { soundController = FindObjectOfType(typeof(soundCotroller)) as soundCotroller; fade = FindObjectOfType(typeof(fade)) as fade; onOfButtonsPainel(); }
// Start is called before the first frame update void Start() { soundController = FindObjectOfType(typeof(soundCotroller)) as soundCotroller; notaFinal = PlayerPrefs.GetInt("notaFinal_" + idTema.ToString()); temaScene = FindObjectOfType(typeof(TemaScene)) as TemaScene; idTemaTxt.text = idTema.ToString(); Estrelas(); btnTema = GetComponent <Button>(); verificarNotaMinima(); }
private void Start() { fade = FindObjectOfType(typeof(fade)) as fade; soundController = FindObjectOfType(typeof(soundCotroller)) as soundCotroller; }