public static void Prefix(ref string rootPath, ref bool usePlatform) { var fullPath = Path.GetFullPath(rootPath).TrimEnd(Path.DirectorySeparatorChar); var dirName = Path.GetFileName(fullPath); var platformPath = NewSaveFolderFeature.PathByPlatform(usePlatform); rootPath = Path.Combine(platformPath, dirName); usePlatform = false; }
public static IEnumerable <CodeInstruction> Transpiler(IEnumerable <CodeInstruction> instructions) { return(NewSaveFolderFeature.Transpiler(instructions)); }