Exemplo n.º 1
0
        private static void DeleteOtherPlatformDirectory(string rootDirectory, string targetPlatform)
        {
            var otherPlatforms = ResourceEditorHelper.CollectBrotherDirectoryNames(rootDirectory, targetPlatform);

            if (otherPlatforms == null)
            {
                return;
            }

            foreach (var otherPlatform in otherPlatforms)
            {
                var otherPlatformRootDirectory = ResourceSettings.CombinePath(rootDirectory, otherPlatform);
                ResourceEditorHelper.DeleteDirectory(otherPlatformRootDirectory);
            }
        }
 public static string GetAssetBundleFullRootPath(string platformDirectory)
 {
     return(ResourceSettings.CombinePath(FullRootPath, platformDirectory, ResourceSettings.ASSET_BUNDLE_DIRECTORY));
 }
 public static string GetVirtualConfigFullFilePath(string platformDirectory)
 {
     return(ResourceSettings.CombinePath(VirtualFullRootPath, platformDirectory, ResourceSettings.CONFIG_DIRECTORY, ResourceSettings.CONFIG_FILE_NAME));
 }