DirectoryDelete() public static method

public static DirectoryDelete ( string path ) : void
path string
return void
コード例 #1
0
ファイル: SplitPackage.cs プロジェクト: pengjugame/hugula
        /// <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);
        }
コード例 #2
0
ファイル: ExportResources.cs プロジェクト: lzxkulou/hugula
 public static void DeleteStreamingOutPath()
 {
     ExportResources.DirectoryDelete(Application.streamingAssetsPath);
 }
コード例 #3
0
ファイル: SplitPackage.cs プロジェクト: wwwsosokk/hugula
        /// <summary>
        ///   delete res folder
        /// </summary>
        public static void DeleteSplitPackageResFolder()
        {
            string updateOutPath = Path.Combine(UpdateOutPath, ResFolderName);

            ExportResources.DirectoryDelete(updateOutPath);
        }