Ejemplo n.º 1
0
 public void respuestaConexion(bool respuesta)
 {
     if (respuesta)
     {
         PlayerPrefs.SetString("nombre", nombre.text);
         PlayerPrefs.Save();
         StaticComponents.loadConfig();
         this.gameObject.SetActive(false);
         controlador.mostrarVistaEstado();
     }
 }
Ejemplo n.º 2
0
 public void cambiarIdioma()
 {
     StaticComponents.idioma = idioma.captionText.text;
     StaticComponents.instanciarIdioma();
 }
Ejemplo n.º 3
0
 public void salir()
 {
     StaticComponents.loadConfig();
     controlador.actualizarLenguaje();
     gameObject.SetActive(false);
 }