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