// Funcion que regresa la cantidad de estrellas necesaria
    public int StarNumber(int points, int PV)
    {
        //Debug.Log("entre a estrellas");

        int    n         = 0;
        string Escena    = SceneManager.GetActiveScene().name;
        string Escenario = GlobalVariables.Caso.ToString();
        int    Maximo;
        double newPoints = 0;


        switch (Escenario)
        {
        case "0": Maximo = 1; break;

        //Los Escenarios
        case "1": Maximo = 800; break;

        case "2": Maximo = 900; break;

        case "3": Maximo = 500; break;

        case "4": Maximo = 900; break;

        case "5": Maximo = 600; break;

        case "6": Maximo = 800; break;

        case "7": Maximo = 800; break;

        case "8": Maximo = 500; break;

        case "9": Maximo = 300; break;

        case "10": Maximo = 500; break;

        default: Maximo = 1000000; break;
        }
        //Debug.Log("points " + points);
        //Debug.Log("maximo " + Maximo);
        newPoints = (double)points / (double)Maximo;
        //Debug.Log(newPoints);

        //Debug.Log(Maximo);
        //Debug.Log(points);
        //Debug.Log(newPoints);

        if (newPoints <= 0)
        {
            n = 0;
        }
        else if (0 < newPoints && newPoints <= .2)
        {
            n = 1;
        }
        else if (.2 < newPoints && newPoints <= .4)
        {
            n = 2;
        }
        else if (.4 < newPoints && newPoints <= .6)
        {
            n = 3;
        }
        else if (.6 < newPoints && newPoints <= .8)
        {
            n = 4;
        }
        else if (.8 < newPoints && newPoints <= 1)
        {
            n = 5;
            if (newPoints == 1 && PV == 1)
            {
                Trofeo.SetActive(true);
                Database.setAchivement(GlobalVariables.Caso);
                Database.saveData();


                //Aqui hay que agregar a este wey
                HelpManager.AgregarAyuda(GlobalVariables.username, GlobalVariables.Caso.ToString());
            }
        }
        //Debug.Log("n " + n);
        return(n);
    }