void LoadGame(string loadfile) { if (savefiles == 7) { Debug.Log("No Save Files Yet!"); } else { //Debug.Log (loadfile+" load"); test = XMLizer <WaveData> .ReadXMLGeneric(loadfile); } }
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"); } }