private static void ClearBatchFolder() { if (Directory.Exists(BATCHBUILDDIR)) { FileAssets.DeleteDirectory(BATCHBUILDDIR); } }
public static void ClearQuestFolders(string buildDir, string fpkName) { string fpkdir = $"{buildDir}//Assets//tpp//pack//mission2//quest//ih//{fpkName}_fpk"; string fpkddir = $"{buildDir}//Assets//tpp//pack//mission2//quest//ih//{fpkName}_fpkd"; if (Directory.Exists(fpkdir)) { FileAssets.DeleteDirectory(fpkdir); } if (Directory.Exists(fpkddir)) { FileAssets.DeleteDirectory(fpkddir); } }