Esempio n. 1
0
 void LoadGame(string loadfile)
 {
     if (savefiles == 7)
     {
         Debug.Log("No Save Files Yet!");
     }
     else
     {
         //Debug.Log (loadfile+" load");
         test = XMLizer <WaveData> .ReadXMLGeneric(loadfile);
     }
 }
Esempio n. 2
0
 void SaveGame()
 {
     savefiles = info.Length + 1;
     if (savefiles < 7)
     {
         XMLizer <WaveData> .CreateXMLGeneric(n, dPath + filename + "0" + savefiles + ".xml");
     }
     else
     {
         XMLizer <WaveData> .CreateXMLGeneric(n, dPath + filename + savefiles + ".xml");
     }
 }