public void Red()
 {
     info.text = "Endurance : Increases HP And Stamina";
     if (i > 8)
     {
         i = i - 1;
         Changer rb = GetComponent <Changer>();
         int     a  = rb.points;
         rb.Changepoint(+1);
         Debug.Log(a);
         string s;
         s = (i).ToString();
         selectedName.text = s;
         Next4 SD = GetComponent <Next4>();
         SD.Endurance(i);
     }
 }
    public void OnMouseClick()
    {
        info.text = "Strength : Increases HP And Stamina";
        Changer rb = GetComponent <Changer>();
        int     a  = rb.points;

        if (a > 0)
        {
            i = i + 1;
            rb.Changepoint(-1);
            Debug.Log(a);
            string s;
            s = (i).ToString();
            selectedName.text = s;
            Next4 SD = GetComponent <Next4>();
            SD.Endurance(i);
        }
    }