Esempio n. 1
0
 public void salvaValorBusto()
 {
     if (slider.value < 0)
     {
         BodyAtributesController bac = GameObject.Find("Controller").GetComponent <BodyAtributesController>();
         bac.valores.Add("PBMBreastsSmall" + '#' + (slider.value * (-1)).ToString());
         bac.procurarAvatar = true;
     }
     else
     {
         salvaValor("PBMBreastsSize");
     }
 }
Esempio n. 2
0
 public void salvaValor(string atributo)
 {
     try
     {
         BodyAtributesController bac = GameObject.Find("Controller").GetComponent <BodyAtributesController>();
         bac.valores.Add(atributo + '#' + slider.value.ToString());
         bac.procurarAvatar = true;
     }
     catch (UnityException ue)
     {
         Debug.LogWarning(ue);
     }
 }
Esempio n. 3
0
 public void salvaValorPernas()
 {
     if (slider.value < 0)
     {
         BodyAtributesController bac = GameObject.Find("Controller").GetComponent <BodyAtributesController>();
         bac.valores.Add("PBMThighsSize_NEGATIVE_" + '#' + (slider.value * (-1)).ToString());
         bac.procurarAvatar = true;
     }
     else
     {
         salvaValor("PBMThighsSize");
     }
 }