void Start() { int nivel = Informacoes.GetNivel(); if (nivel == FACIL) { Informacoes.SetStatus(0); nivel_tela.text = "Nível fácil"; nivel_tela.color = new Color(0.07f, 0.66f, .20f); audiosSeq[0] = audioClips[0]; } else if (nivel == MEDIO) { nivel_tela.text = "Nível médio"; nivel_tela.color = new Color(1f, 0.7f, 0f); audiosSeq[0] = audioClips[1]; } else { nivel_tela.text = "Nível difícil"; nivel_tela.color = new Color(1f, 0.14f, 0f); audiosSeq[0] = audioClips[2]; } StartCoroutine(playAudioSequentially()); }
private void PegarInfosSalvas() { if (Informacoes.GetStatus() == STATUSOPCOES || Informacoes.GetStatus() == PROXPALAVRA) { questao_x_de_y = Informacoes.GetNumeroQuestao(); } else { questao_x_de_y = -1; } pular_agora = NAO; quantidade_facil = Informacoes.GetQuantidadeFacil(); quantidade_medio = Informacoes.GetQuantidadeMedio(); quantidade_dificil = Informacoes.GetQuantidadeDificil(); nivel_atual = Informacoes.GetNivel(); pontuacao = Informacoes.GetPontos(); perguntas_facil = Informacoes.GetPerguntasFacil(); respostas_facil = Informacoes.GetRespostasFacil(); respostas_possiveis_facil = Informacoes.GetRespostasPossiveisFacil(); dicas_facil = Informacoes.GetDicasFacil(); perguntas_medio = Informacoes.GetPerguntasMedio(); respostas_medio = Informacoes.GetRespostasMedio(); respostas_possiveis_medio = Informacoes.GetRespostasPossiveisMedio(); dicas_medio = Informacoes.GetDicasMedio(); perguntas_dificil = Informacoes.GetPerguntasDificil(); respostas_dificil = Informacoes.GetRespostasDificil(); respostas_possiveis_dificil = Informacoes.GetRespostasPossiveisDificil(); dicas_dificil = Informacoes.GetDicasDificil(); selecionou5050 = Informacoes.GetStatus5050(); selecionou_pular = Informacoes.GetStatusPular(); volume_efeitos = Informacoes.GetValueEfeitos(); volume_musica = Informacoes.GetValueEfeitos(); volume_texto = Informacoes.GetValueLeituraTexto(); audios_perguntas = Informacoes.GetAudiosPerguntas(); audios_alternativas = Informacoes.GetAudiosAlternativas(); audios_dicas = Informacoes.GetAudiosDicas(); }