/// <summary> /// delete res folder /// </summary> public static void DeleteSplitPackageResFolder() { string updateOutPath = Path.Combine(UpdateOutPath, ResFolderName); Debug.Log("Delete directory " + updateOutPath); ExportResources.DirectoryDelete(updateOutPath); string updateOutVersionPath = Path.Combine(UpdateOutVersionPath, ResFolderName); Debug.Log("Delete directory " + updateOutVersionPath); ExportResources.DirectoryDelete(updateOutVersionPath); }
public static void DeleteStreamingOutPath() { ExportResources.DirectoryDelete(Application.streamingAssetsPath); }
/// <summary> /// delete res folder /// </summary> public static void DeleteSplitPackageResFolder() { string updateOutPath = Path.Combine(UpdateOutPath, ResFolderName); ExportResources.DirectoryDelete(updateOutPath); }