Пример #1
0
 private string GetFilePath(SwitchFile.FileName fileName)
 {
     return(PathUtil.Combine(new string[]
     {
         Application.get_persistentDataPath(),
         fileName.ToString()
     }));
 }
Пример #2
0
 public void CreateFile(SwitchFile.FileName fileName)
 {
     FileHelper.CreateIfNotExist(this.GetFilePath(fileName));
 }
Пример #3
0
 public bool IsFileExist(SwitchFile.FileName fileName)
 {
     return(File.Exists(this.GetFilePath(fileName)));
 }