private void OverwriteData() { SaveController saveController = new SaveController(); string path = Path.Combine(Application.persistentDataPath, saveController.directoryName); if (Directory.Exists(path)) { Directory.Delete(Path.Combine(Application.persistentDataPath, saveController.directoryName), true); } loader.LoadLevel("SampleScene"); }