void Start()
 {
     jogador = GameObject.Find("JogadorHumano").GetComponent <JogadorHumano>();
     todosJogadores.Add(jogador);
     jogadoresIA = new List <JogadorIA>();
     for (int i = 0; i < 3; i++)
     {
         JogadorIA ia = gameObject.AddComponent <JogadorIA>();
         jogadoresIA.Add(ia);
         todosJogadores.Add(ia);
     }
     jogadorAtual = todosJogadores[0];
 }
    private void ProximoJogador()
    {
        int posAtual = todosJogadores.IndexOf(jogadorAtual);

        jogadorAtual = todosJogadores[(posAtual + 1) % todosJogadores.Count];
    }