private string GetFilePath(SwitchFile.FileName fileName) { return(PathUtil.Combine(new string[] { Application.get_persistentDataPath(), fileName.ToString() })); }
public void CreateFile(SwitchFile.FileName fileName) { FileHelper.CreateIfNotExist(this.GetFilePath(fileName)); }
public bool IsFileExist(SwitchFile.FileName fileName) { return(File.Exists(this.GetFilePath(fileName))); }