Beispiel #1
0
        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();
 }
Beispiel #3
0
 void Awake()
 {
     xmlReaderAccess = this;
 }