public bool RestoreBackUp(String location) { xmlReader xmlReader = new xmlReader(); xmlRegistry xmlReg = new xmlRegistry(); try { xmlReg.loadAsXml(xmlReader, location); } catch (Exception ex) { ErrorMessage = ex.Message; return(false); } return(true); }
private void Awake() { DontDestroyOnLoad(gameObject); reader = GetComponent <xmlReader>(); Languages = reader.getLanguages(); }
void Awake() { xmlReaderAccess = this; }