コード例 #1
0
 void Start()
 {
     Temporizador.addTempo(0);
     pergunta.text = perguntaPassada;
     for (int x = 0; x < OrdemCorreta.Length; x++)
     {
         OrdemCorretaDePopular[x] = OrdemCorreta[x];
     }
     for (int x = 0; x < OrdemCorreta.Length; x++)
     {
         Debug.Log(OrdemCorretaDePopular[x]);
     }
     for (int x = 0; x < OrdemRandomica.Length; x++)
     {
         int num = r.Next(0, 4);
         if (num != x)
         {
             verificarNumeros(num, x);
         }
         else
         {
             x--;
         }
     }
     for (int x = 0; x < OrdemRandomica.Length; x++)
     {
         opcoesTexto[x].text = OrdemRandomica[x];
     }
 }