DirectoryDelete() public static method

public static DirectoryDelete ( string path ) : void
path string
return void
Esempio n. 1
0
        /// <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);
        }
Esempio n. 2
0
 public static void DeleteStreamingOutPath()
 {
     ExportResources.DirectoryDelete(Application.streamingAssetsPath);
 }
Esempio n. 3
0
        /// <summary>
        ///   delete res folder
        /// </summary>
        public static void DeleteSplitPackageResFolder()
        {
            string updateOutPath = Path.Combine(UpdateOutPath, ResFolderName);

            ExportResources.DirectoryDelete(updateOutPath);
        }