From 01cf9ccd54e76732f64f0042b04fe6a3a5ae745d Mon Sep 17 00:00:00 2001 From: hevinci Date: Wed, 20 Sep 2023 16:09:52 +0800 Subject: [PATCH] update yooasset2.0 --- .../AssetBundleBuilder/AssetBundleBuilder.cs | 62 +-- .../AssetBundleBuilderHelper.cs | 2 +- .../AssetBundleBuilderSetting.cs | 114 ++++-- .../AssetBundleBuilderSettingData.cs | 49 --- .../AssetBundleBuilderWindow.cs | 358 ++++------------ .../AssetBundleBuilderWindow.uxml | 18 +- .../AssetBundleSimulateBuilder.cs | 99 ++++- .../AssetBundleBuilder/BuildAssetInfo.cs | 78 +--- .../AssetBundleBuilder/BuildBundleInfo.cs | 77 +--- .../AssetBundleBuilder/BuildMapContext.cs | 13 +- .../AssetBundleBuilder/BuildParameters.cs | 195 ++++++--- .../BuildParametersContext.cs | 112 +---- .../AssetBundleBuilder/BuildPipeline.meta} | 2 +- .../BaseTasks.meta} | 0 .../BaseTasks/TaskCopyBuildinFiles.cs | 82 ++++ .../BaseTasks}/TaskCopyBuildinFiles.cs.meta | 0 .../BaseTasks/TaskCreateManifest.cs | 213 ++++++++++ .../BaseTasks}/TaskCreateManifest.cs.meta | 0 .../BaseTasks}/TaskCreateReport.cs | 87 ++-- .../BaseTasks}/TaskCreateReport.cs.meta | 0 .../BaseTasks}/TaskEncryption.cs | 32 +- .../BaseTasks}/TaskEncryption.cs.meta | 0 .../BaseTasks/TaskGetBuildMap.cs | 170 ++++++++ .../BaseTasks}/TaskGetBuildMap.cs.meta | 0 .../BaseTasks/TaskUpdateBundleInfo.cs | 65 +++ .../BaseTasks}/TaskUpdateBundleInfo.cs.meta | 0 .../BuildPipeline/BuiltinBuildPipeline.meta} | 2 +- .../BuiltinBuildPipeline/BuildTasks.meta | 8 + .../BuildTasks/TaskBuilding_BBP.cs} | 5 +- .../BuildTasks/TaskBuilding_BBP.cs.meta} | 2 +- .../BuildTasks/TaskCopyBuildinFiles_BBP.cs | 27 ++ .../TaskCopyBuildinFiles_BBP.cs.meta} | 2 +- .../BuildTasks/TaskCreateManifest_BBP.cs | 26 ++ .../TaskCreateManifest_BBP.cs.meta} | 2 +- .../BuildTasks/TaskCreatePackage_BBP.cs | 54 +++ .../BuildTasks/TaskCreatePackage_BBP.cs.meta} | 2 +- .../BuildTasks/TaskCreateReport_BBP.cs | 25 ++ .../BuildTasks/TaskCreateReport_BBP.cs.meta | 11 + .../BuildTasks/TaskEncryption_BBP.cs | 24 ++ .../BuildTasks/TaskEncryption_BBP.cs.meta | 11 + .../BuildTasks/TaskGetBuildMap_BBP.cs | 20 + .../BuildTasks/TaskGetBuildMap_BBP.cs.meta | 11 + .../BuildTasks/TaskPrepare_BBP.cs | 30 ++ .../BuildTasks/TaskPrepare_BBP.cs.meta | 11 + .../BuildTasks/TaskUpdateBundleInfo_BBP.cs | 79 ++++ .../TaskUpdateBundleInfo_BBP.cs.meta | 11 + .../BuildTasks/TaskVerifyBuildResult_BBP.cs | 68 ++++ .../TaskVerifyBuildResult_BBP.cs.meta} | 0 .../BuiltinBuildParameters.cs | 61 +++ .../BuiltinBuildParameters.cs.meta | 11 + .../BuiltinBuildPipeline.cs | 38 ++ .../BuiltinBuildPipeline.cs.meta | 11 + .../BuildPipeline/RawFileBuildPipeline.meta | 8 + .../RawFileBuildPipeline/BuildTasks.meta | 8 + .../BuildTasks/TaskBuilding_RFBP.cs} | 14 +- .../BuildTasks/TaskBuilding_RFBP.cs.meta} | 0 .../BuildTasks/TaskCopyBuildinFiles_RFBP.cs | 27 ++ .../TaskCopyBuildinFiles_RFBP.cs.meta | 11 + .../BuildTasks/TaskCreateManifest_RFBP.cs | 21 + .../TaskCreateManifest_RFBP.cs.meta | 11 + .../BuildTasks/TaskCreatePackage_RFBP.cs | 41 ++ .../BuildTasks/TaskCreatePackage_RFBP.cs.meta | 11 + .../BuildTasks/TaskCreateReport_RFBP.cs | 25 ++ .../BuildTasks/TaskCreateReport_RFBP.cs.meta | 11 + .../BuildTasks/TaskGetBuildMap_RFBP.cs | 36 ++ .../BuildTasks/TaskGetBuildMap_RFBP.cs.meta | 11 + .../BuildTasks/TaskPrepare_RFBP.cs | 27 ++ .../BuildTasks/TaskPrepare_RFBP.cs.meta | 11 + .../BuildTasks/TaskUpdateBundleInfo_RFBP.cs | 61 +++ .../TaskUpdateBundleInfo_RFBP.cs.meta | 11 + .../RawFileBuildParameters.cs | 10 + .../RawFileBuildParameters.cs.meta | 11 + .../RawFileBuildPipeline.cs | 37 ++ .../RawFileBuildPipeline.cs.meta | 11 + .../ScriptableBuildPipeline.meta | 8 + .../ScriptableBuildPipeline/BuildTasks.meta | 8 + .../BuildTasks/TaskBuilding_SBP.cs | 4 +- .../BuildTasks/TaskBuilding_SBP.cs.meta | 2 +- .../BuildTasks/TaskCopyBuildinFiles_SBP.cs | 27 ++ .../TaskCopyBuildinFiles_SBP.cs.meta | 11 + .../BuildTasks/TaskCreateManifest_SBP.cs | 30 ++ .../BuildTasks/TaskCreateManifest_SBP.cs.meta | 11 + .../BuildTasks/TaskCreatePackage_SBP.cs | 56 +++ .../BuildTasks/TaskCreatePackage_SBP.cs.meta | 11 + .../BuildTasks/TaskCreateReport_SBP.cs | 25 ++ .../BuildTasks/TaskCreateReport_SBP.cs.meta | 11 + .../BuildTasks/TaskEncryption_SBP.cs | 24 ++ .../BuildTasks/TaskEncryption_SBP.cs.meta | 11 + .../BuildTasks/TaskGetBuildMap_SBP.cs | 20 + .../BuildTasks/TaskGetBuildMap_SBP.cs.meta | 11 + .../BuildTasks/TaskPrepare_SBP.cs | 27 ++ .../BuildTasks/TaskPrepare_SBP.cs.meta | 11 + .../BuildTasks/TaskUpdateBundleInfo_SBP.cs | 79 ++++ .../TaskUpdateBundleInfo_SBP.cs.meta | 11 + .../BuildTasks/TaskVerifyBuildResult_SBP.cs | 9 +- .../TaskVerifyBuildResult_SBP.cs.meta | 0 .../ScriptableBuildPipeline/BuildTasksEx.cs} | 0 .../BuildTasksEx.cs.meta} | 0 .../ScriptableBuildPipeline}/SBPBuildTasks.cs | 0 .../SBPBuildTasks.cs.meta | 0 .../ScriptableBuildParameters.cs | 73 ++++ .../ScriptableBuildParameters.cs.meta | 11 + .../ScriptableBuildPipeline.cs | 38 ++ .../ScriptableBuildPipeline.cs.meta | 11 + .../BuildTasks/TaskCopyBuildinFiles.cs | 100 ----- .../BuildTasks/TaskCreateManifest.cs | 384 ------------------ .../BuildTasks/TaskCreatePackage.cs | 79 ---- .../BuildTasks/TaskGetBuildMap.cs | 229 ----------- .../BuildTasks/TaskPrepare.cs | 106 ----- .../BuildTasks/TaskUpdateBundleInfo.cs | 154 ------- .../BuildTasks/TaskVerifyBuildResult.cs | 137 ------- .../AssetBundleBuilder/EBuildPipeline.cs | 9 +- ...ileOption.cs => EBuildinFileCopyOption.cs} | 2 +- ...cs.meta => EBuildinFileCopyOption.cs.meta} | 0 ...{EOutputNameStyle.cs => EFileNameStyle.cs} | 13 +- ...meStyle.cs.meta => EFileNameStyle.cs.meta} | 0 .../AssetBundleBuilder/IBuildPipeline.cs | 8 + .../AssetBundleBuilder/IBuildPipeline.cs.meta | 11 + .../AssetBundleBuilder/VisualViewers.meta | 8 + .../VisualViewers/BuildPipelineViewerBase.cs | 210 ++++++++++ .../BuildPipelineViewerBase.cs.meta | 11 + .../BuildPipelineViewerBase.uxml | 14 + .../BuildPipelineViewerBase.uxml.meta | 10 + .../BuiltinBuildPipelineViewer.cs | 63 +++ .../BuiltinBuildPipelineViewer.cs.meta | 11 + .../RawfileBuildpipelineViewer.cs | 61 +++ .../RawfileBuildpipelineViewer.cs.meta | 11 + .../ScriptableBuildPipelineViewer.cs | 61 +++ .../ScriptableBuildPipelineViewer.cs.meta | 11 + .../AssetBundleCollector.cs | 65 +-- .../AssetBundleCollectorConfig.cs | 162 +------- .../AssetBundleCollectorPackage.cs | 20 + .../AssetBundleCollectorSetting.cs | 30 +- .../AssetBundleCollectorSettingData.cs | 27 +- .../AssetBundleCollectorWindow.cs | 252 ++++++++---- .../AssetBundleCollectorWindow.uxml | 24 +- .../AssetBundleCollector/CollectAssetInfo.cs | 12 +- .../AssetBundleCollector/CollectCommand.cs | 10 +- .../CollectRules/IPackRule.cs | 27 +- .../CollectRules/ISharedPackRule.cs | 14 - .../CollectRules/ISharedPackRule.cs.meta | 11 - .../DefaultRules/DefaultPackRule.cs | 35 -- .../DefaultRules/DefaultSharedPackRule.cs | 31 -- .../DefaultSharedPackRule.cs.meta | 11 - .../AssetBundleReporter/ReportAssetInfo.cs | 5 - .../AssetBundleReporter/ReportBundleInfo.cs | 15 +- .../AssetBundleReporter/ReportSummary.cs | 19 +- .../VisualViewers/ReporterAssetListViewer.cs | 2 +- .../VisualViewers/ReporterBundleListViewer.cs | 6 +- .../ReporterBundleListViewer.uxml | 2 +- .../VisualViewers/ReporterSummaryViewer.cs | 5 +- Assets/YooAsset/Editor/UIElements.meta | 8 + .../UIElementsDefine.cs} | 0 .../UIElementsDefine.cs.meta} | 0 .../UIElementsExtension.cs} | 0 .../UIElementsExtension.cs.meta} | 0 .../Editor/UIElements/UIElementsTools.cs | 21 + .../Editor/UIElements/UIElementsTools.cs.meta | 11 + .../Editor/{ => UIElements}/UxmlLoader.cs | 0 .../{ => UIElements}/UxmlLoader.cs.meta | 0 .../Runtime/{Properties => }/AssemblyInfo.cs | 0 .../{Properties => }/AssemblyInfo.cs.meta | 0 .../AssetSystem/Loader/EBundleLoadMethod.cs | 29 -- .../Loader/EBundleLoadMethod.cs.meta | 11 - .../Runtime/CacheSystem/CacheHelper.cs | 103 +++++ ...acheSystem.cs.meta => CacheHelper.cs.meta} | 0 .../{PackageCache.cs => CacheManager.cs} | 53 ++- ...kageCache.cs.meta => CacheManager.cs.meta} | 0 .../Runtime/CacheSystem/CacheSystem.cs | 217 ---------- .../{Operations.meta => Operation.meta} | 0 .../ClearAllCacheFilesOperation.cs | 10 +- .../ClearAllCacheFilesOperation.cs.meta | 0 .../ClearUnusedCacheFilesOperation.cs | 22 +- .../ClearUnusedCacheFilesOperation.cs.meta | 0 .../{Operations => Operation}/Internal.meta | 0 .../Internal/FindCacheFilesOperation.cs | 126 ++++++ .../Internal/FindCacheFilesOperation.cs.meta | 0 .../Internal/VerifyCacheFilesOperation.cs | 26 +- .../VerifyCacheFilesOperation.cs.meta | 0 .../Internal/VerifyTempFileOperation.cs | 4 +- .../Internal/VerifyTempFileOperation.cs.meta | 0 .../PackageCachingOperation.cs | 20 +- .../PackageCachingOperation.cs.meta | 0 .../Internal/FindCacheFilesOperation.cs | 175 -------- .../Runtime/CacheSystem/PersistentHelper.cs | 24 ++ ...Tools.cs.meta => PersistentHelper.cs.meta} | 0 .../{Persistent.cs => PersistentManager.cs} | 102 +++-- ...tent.cs.meta => PersistentManager.cs.meta} | 0 .../Runtime/CacheSystem/PersistentTools.cs | 51 --- .../Runtime/CacheSystem/VerifyElement.cs | 9 +- .../Runtime/DownloadSystem/DownloadHelper.cs | 41 ++ ...dSystem.cs.meta => DownloadHelper.cs.meta} | 0 .../Runtime/DownloadSystem/DownloadManager.cs | 132 ++++++ .../DownloadSystem/DownloadManager.cs.meta | 11 + .../Runtime/DownloadSystem/DownloadReport.cs | 30 -- .../Runtime/DownloadSystem/DownloadStatus.cs | 36 ++ ...dReport.cs.meta => DownloadStatus.cs.meta} | 0 .../Runtime/DownloadSystem/DownloadSystem.cs | 184 --------- .../Downloader/CompletedDownloader.cs | 12 +- .../Downloader/DownloaderBase.cs | 60 +-- ...GeneralDownloader.cs => FileDownloader.cs} | 129 +++--- ...nloader.cs.meta => FileDownloader.cs.meta} | 0 .../Downloader/FileResumeDownloader.cs | 295 -------------- .../Downloader/FileResumeDownloader.cs.meta | 11 - .../Downloader/WebDownloader.cs | 134 ++---- .../Runtime/DownloadSystem/RemoteTools.cs | 36 ++ .../DownloadSystem/RemoteTools.cs.meta | 11 + .../Runtime/DownloadSystem/Requester.meta | 8 + .../Requester/AssetBundleWebRequest.cs | 144 +++++++ .../Requester/AssetBundleWebRequest.cs.meta | 11 + .../DownloadHandlerFileRange.cs | 0 .../DownloadHandlerFileRange.cs.meta | 0 .../Requester/FileGeneralRequest.cs | 106 +++++ .../Requester/FileGeneralRequest.cs.meta | 11 + .../Requester/FileResumeRequest.cs | 149 +++++++ .../Requester/FileResumeRequest.cs.meta | 11 + .../DownloadSystem/Requester/IWebRequester.cs | 65 +++ .../Requester/IWebRequester.cs.meta | 11 + .../DownloadSystem/UnityWebDataRequester.cs | 2 +- .../DownloadSystem/UnityWebFileRequester.cs | 2 +- .../YooAsset/Runtime/InitializeParameters.cs | 59 ++- .../OperationSystem/AsyncOperationBase.cs | 19 + .../OperationSystem/OperationSystem.cs | 40 +- .../Runtime/PackageSystem/BundleInfo.cs | 84 ---- .../Runtime/PackageSystem/PackageBundle.cs | 237 ----------- .../PlayMode/EditorSimulateModeImpl.cs | 123 ------ .../PackageSystem/PlayMode/WebPlayModeImpl.cs | 158 ------- ...{AssetSystem.meta => ResourceManager.meta} | 0 .../Handle.meta} | 0 .../Handle/AllAssetsHandle.cs} | 12 +- .../Handle/AllAssetsHandle.cs.meta} | 0 .../Handle/AssetHandle.cs} | 15 +- .../Handle/AssetHandle.cs.meta} | 0 .../Handle/HandleBase.cs} | 10 +- .../Handle/HandleBase.cs.meta} | 0 .../Handle/RawFileHandle.cs} | 12 +- .../Handle/RawFileHandle.cs.meta} | 0 .../Handle/SceneHandle.cs} | 22 +- .../Handle/SceneHandle.cs.meta} | 0 .../Handle/SubAssetsHandle.cs} | 12 +- .../Handle/SubAssetsHandle.cs.meta} | 0 .../Loader.meta | 0 .../Loader/AssetBundleFileLoader.cs | 114 ++---- .../Loader/AssetBundleFileLoader.cs.meta | 0 .../Loader/AssetBundleWebLoader.cs | 14 +- .../Loader/AssetBundleWebLoader.cs.meta | 0 .../Loader/BundleLoaderBase.cs | 12 +- .../Loader/BundleLoaderBase.cs.meta | 0 .../Loader/DependAssetBundles.cs | 0 .../Loader/DependAssetBundles.cs.meta | 0 .../Loader/RawBundleFileLoader.cs | 18 +- .../Loader/RawBundleFileLoader.cs.meta | 0 .../Loader/RawBundleWebLoader.cs | 13 +- .../Loader/RawBundleWebLoader.cs.meta | 0 .../Loader/VirtualBundleFileLoader.cs | 2 +- .../Loader/VirtualBundleFileLoader.cs.meta | 0 .../Operation.meta} | 0 .../Operation}/InstantiateOperation.cs | 8 +- .../Operation}/InstantiateOperation.cs.meta | 0 .../Operation}/UnloadSceneOperation.cs | 0 .../Operation}/UnloadSceneOperation.cs.meta | 0 .../Provider.meta | 0 .../Provider/BundledAllAssetsProvider.cs | 2 +- .../Provider/BundledAllAssetsProvider.cs.meta | 0 .../Provider/BundledAssetProvider.cs | 2 +- .../Provider/BundledAssetProvider.cs.meta | 0 .../Provider/BundledRawFileProvider.cs | 2 +- .../Provider/BundledRawFileProvider.cs.meta | 0 .../Provider/BundledSceneProvider.cs | 2 +- .../Provider/BundledSceneProvider.cs.meta | 0 .../Provider/BundledSubAssetsProvider.cs | 2 +- .../Provider/BundledSubAssetsProvider.cs.meta | 0 .../Provider/CompletedProvider.cs | 0 .../Provider/CompletedProvider.cs.meta | 0 .../Provider/DatabaseAllAssetsProvider.cs | 6 +- .../DatabaseAllAssetsProvider.cs.meta | 0 .../Provider/DatabaseAssetProvider.cs | 2 +- .../Provider/DatabaseAssetProvider.cs.meta | 0 .../Provider/DatabaseRawFileProvider.cs | 2 +- .../Provider/DatabaseRawFileProvider.cs.meta | 0 .../Provider/DatabaseSceneProvider.cs | 2 +- .../Provider/DatabaseSceneProvider.cs.meta | 0 .../Provider/DatabaseSubAssetsProvider.cs | 2 +- .../DatabaseSubAssetsProvider.cs.meta | 0 .../Provider/ProviderBase.cs | 84 ++-- .../Provider/ProviderBase.cs.meta | 0 .../Runtime/ResourceManager/ResourceLoader.cs | 103 +++++ .../ResourceManager/ResourceLoader.cs.meta | 11 + .../ResourceManager.cs} | 87 ++-- .../ResourceManager.cs.meta} | 0 ...ackageSystem.meta => ResourcePackage.meta} | 0 .../AssetInfo.cs | 14 +- .../AssetInfo.cs.meta | 0 .../Runtime/ResourcePackage/BundleInfo.cs | 198 +++++++++ .../BundleInfo.cs.meta | 0 .../Runtime/ResourcePackage/Interface.meta | 8 + .../ResourcePackage/Interface/IBundleQuery.cs | 21 + .../Interface/IBundleQuery.cs.meta} | 0 .../Interface/IPlayMode.cs} | 2 +- .../Interface/IPlayMode.cs.meta} | 0 .../ManifestTools.cs | 77 ++-- .../ManifestTools.cs.meta | 0 .../Operation.meta} | 0 .../Operation}/DownloaderOperation.cs | 33 +- .../Operation}/DownloaderOperation.cs.meta | 0 .../Operation}/InitializationOperation.cs | 78 ++-- .../InitializationOperation.cs.meta | 0 .../Operation}/Internal.meta | 0 .../Internal/DeserializeManifestOperation.cs | 12 +- .../DeserializeManifestOperation.cs.meta | 0 .../Internal/DownloadManifestOperation.cs | 26 +- .../DownloadManifestOperation.cs.meta | 0 .../Internal/LoadBuildinManifestOperation.cs | 12 +- .../LoadBuildinManifestOperation.cs.meta | 0 .../Internal/LoadCacheManifestOperation.cs | 16 +- .../LoadCacheManifestOperation.cs.meta | 0 .../Internal/LoadEditorManifestOperation.cs | 6 +- .../LoadEditorManifestOperation.cs.meta | 0 .../Internal/LoadRemoteManifestOperation.cs | 13 +- .../LoadRemoteManifestOperation.cs.meta | 0 .../QueryBuildinPackageVersionOperation.cs | 10 +- ...ueryBuildinPackageVersionOperation.cs.meta | 0 .../QueryCachePackageHashOperation.cs | 8 +- .../QueryCachePackageHashOperation.cs.meta | 0 .../QueryCachePackageVersionOperation.cs | 8 +- .../QueryCachePackageVersionOperation.cs.meta | 0 .../QueryRemotePackageHashOperation.cs | 9 +- .../QueryRemotePackageHashOperation.cs.meta | 0 .../QueryRemotePackageVersionOperation.cs | 9 +- ...QueryRemotePackageVersionOperation.cs.meta | 0 .../UnpackBuildinManifestOperation.cs | 20 +- .../UnpackBuildinManifestOperation.cs.meta | 0 .../Operation}/PreDownloadContentOperation.cs | 142 +++++-- .../PreDownloadContentOperation.cs.meta | 0 .../UpdatePackageManifestOperation.cs | 40 +- .../UpdatePackageManifestOperation.cs.meta | 0 .../UpdatePackageVersionOperation.cs | 16 +- .../UpdatePackageVersionOperation.cs.meta | 0 .../PackageAsset.cs | 6 - .../PackageAsset.cs.meta | 0 .../Runtime/ResourcePackage/PackageBundle.cs | 152 +++++++ .../PackageBundle.cs.meta | 0 .../PackageManifest.cs | 61 +-- .../PackageManifest.cs.meta | 0 .../PlayMode.meta | 0 .../PlayMode/EditorSimulateModeHelper.cs | 6 +- .../PlayMode/EditorSimulateModeHelper.cs.meta | 0 .../PlayMode/EditorSimulateModeImpl.cs | 130 ++++++ .../PlayMode/EditorSimulateModeImpl.cs.meta | 0 .../PlayMode/HostPlayModeImpl.cs | 115 +++--- .../PlayMode/HostPlayModeImpl.cs.meta | 0 .../PlayMode/OfflinePlayModeImpl.cs | 85 ++-- .../PlayMode/OfflinePlayModeImpl.cs.meta | 0 .../PlayMode/WebPlayModeImpl.cs | 163 ++++++++ .../PlayMode/WebPlayModeImpl.cs.meta | 0 .../Runtime/ResourcePackage/ResourceAssist.cs | 11 + .../ResourcePackage/ResourceAssist.cs.meta | 11 + .../ResourcePackage.cs | 376 +++++++++-------- .../ResourcePackage.cs.meta | 0 .../Runtime/Services/IBuildinQueryServices.cs | 4 +- .../Runtime/Services/IDecryptionServices.cs | 36 +- .../Runtime/Services/IDeliveryLoadServices.cs | 43 ++ .../Services/IDeliveryLoadServices.cs.meta | 11 + .../Services/IDeliveryQueryServices.cs | 17 +- .../Runtime/Services/IEncryptionServices.cs | 4 +- .../Services/Internal/IBundleServices.cs | 26 -- .../Runtime/Settings/YooAssetSettings.cs | 11 +- Assets/YooAsset/Runtime/YooAssets.cs | 113 ++---- Assets/YooAsset/Runtime/YooAssetsExtension.cs | 109 +++-- 369 files changed, 6557 insertions(+), 5490 deletions(-) delete mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilderSettingData.cs rename Assets/YooAsset/{Runtime/Properties.meta => Editor/AssetBundleBuilder/BuildPipeline.meta} (77%) rename Assets/YooAsset/Editor/AssetBundleBuilder/{BuildTasks.meta => BuildPipeline/BaseTasks.meta} (100%) create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/BaseTasks/TaskCopyBuildinFiles.cs rename Assets/YooAsset/Editor/AssetBundleBuilder/{BuildTasks => BuildPipeline/BaseTasks}/TaskCopyBuildinFiles.cs.meta (100%) create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/BaseTasks/TaskCreateManifest.cs rename Assets/YooAsset/Editor/AssetBundleBuilder/{BuildTasks => BuildPipeline/BaseTasks}/TaskCreateManifest.cs.meta (100%) rename Assets/YooAsset/Editor/AssetBundleBuilder/{BuildTasks => BuildPipeline/BaseTasks}/TaskCreateReport.cs (72%) rename Assets/YooAsset/Editor/AssetBundleBuilder/{BuildTasks => BuildPipeline/BaseTasks}/TaskCreateReport.cs.meta (100%) rename Assets/YooAsset/Editor/AssetBundleBuilder/{BuildTasks => BuildPipeline/BaseTasks}/TaskEncryption.cs (57%) rename Assets/YooAsset/Editor/AssetBundleBuilder/{BuildTasks => BuildPipeline/BaseTasks}/TaskEncryption.cs.meta (100%) create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/BaseTasks/TaskGetBuildMap.cs rename Assets/YooAsset/Editor/AssetBundleBuilder/{BuildTasks => BuildPipeline/BaseTasks}/TaskGetBuildMap.cs.meta (100%) create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/BaseTasks/TaskUpdateBundleInfo.cs rename Assets/YooAsset/Editor/AssetBundleBuilder/{BuildTasks => BuildPipeline/BaseTasks}/TaskUpdateBundleInfo.cs.meta (100%) rename Assets/YooAsset/{Runtime/Services/Internal.meta => Editor/AssetBundleBuilder/BuildPipeline/BuiltinBuildPipeline.meta} (77%) create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/BuiltinBuildPipeline/BuildTasks.meta rename Assets/YooAsset/Editor/AssetBundleBuilder/{BuildTasks/TaskBuilding.cs => BuildPipeline/BuiltinBuildPipeline/BuildTasks/TaskBuilding_BBP.cs} (88%) rename Assets/YooAsset/Editor/AssetBundleBuilder/{BuildTasks/TaskCreatePackage.cs.meta => BuildPipeline/BuiltinBuildPipeline/BuildTasks/TaskBuilding_BBP.cs.meta} (83%) create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/BuiltinBuildPipeline/BuildTasks/TaskCopyBuildinFiles_BBP.cs rename Assets/YooAsset/Editor/AssetBundleBuilder/{AssetBundleBuilderSettingData.cs.meta => BuildPipeline/BuiltinBuildPipeline/BuildTasks/TaskCopyBuildinFiles_BBP.cs.meta} (83%) create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/BuiltinBuildPipeline/BuildTasks/TaskCreateManifest_BBP.cs rename Assets/YooAsset/Editor/AssetBundleBuilder/{BuildTasks/TaskPrepare.cs.meta => BuildPipeline/BuiltinBuildPipeline/BuildTasks/TaskCreateManifest_BBP.cs.meta} (83%) create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/BuiltinBuildPipeline/BuildTasks/TaskCreatePackage_BBP.cs rename Assets/YooAsset/Editor/AssetBundleBuilder/{BuildTasks/TaskBuilding.cs.meta => BuildPipeline/BuiltinBuildPipeline/BuildTasks/TaskCreatePackage_BBP.cs.meta} (83%) create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/BuiltinBuildPipeline/BuildTasks/TaskCreateReport_BBP.cs create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/BuiltinBuildPipeline/BuildTasks/TaskCreateReport_BBP.cs.meta create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/BuiltinBuildPipeline/BuildTasks/TaskEncryption_BBP.cs create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/BuiltinBuildPipeline/BuildTasks/TaskEncryption_BBP.cs.meta create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/BuiltinBuildPipeline/BuildTasks/TaskGetBuildMap_BBP.cs create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/BuiltinBuildPipeline/BuildTasks/TaskGetBuildMap_BBP.cs.meta create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/BuiltinBuildPipeline/BuildTasks/TaskPrepare_BBP.cs create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/BuiltinBuildPipeline/BuildTasks/TaskPrepare_BBP.cs.meta create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/BuiltinBuildPipeline/BuildTasks/TaskUpdateBundleInfo_BBP.cs create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/BuiltinBuildPipeline/BuildTasks/TaskUpdateBundleInfo_BBP.cs.meta create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/BuiltinBuildPipeline/BuildTasks/TaskVerifyBuildResult_BBP.cs rename Assets/YooAsset/Editor/AssetBundleBuilder/{BuildTasks/TaskVerifyBuildResult.cs.meta => BuildPipeline/BuiltinBuildPipeline/BuildTasks/TaskVerifyBuildResult_BBP.cs.meta} (100%) create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/BuiltinBuildPipeline/BuiltinBuildParameters.cs create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/BuiltinBuildPipeline/BuiltinBuildParameters.cs.meta create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/BuiltinBuildPipeline/BuiltinBuildPipeline.cs create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/BuiltinBuildPipeline/BuiltinBuildPipeline.cs.meta create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/RawFileBuildPipeline.meta create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/RawFileBuildPipeline/BuildTasks.meta rename Assets/YooAsset/Editor/AssetBundleBuilder/{BuildTasks/TaskCopyRawFile.cs => BuildPipeline/RawFileBuildPipeline/BuildTasks/TaskBuilding_RFBP.cs} (73%) rename Assets/YooAsset/Editor/AssetBundleBuilder/{BuildTasks/TaskCopyRawFile.cs.meta => BuildPipeline/RawFileBuildPipeline/BuildTasks/TaskBuilding_RFBP.cs.meta} (100%) create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/RawFileBuildPipeline/BuildTasks/TaskCopyBuildinFiles_RFBP.cs create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/RawFileBuildPipeline/BuildTasks/TaskCopyBuildinFiles_RFBP.cs.meta create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/RawFileBuildPipeline/BuildTasks/TaskCreateManifest_RFBP.cs create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/RawFileBuildPipeline/BuildTasks/TaskCreateManifest_RFBP.cs.meta create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/RawFileBuildPipeline/BuildTasks/TaskCreatePackage_RFBP.cs create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/RawFileBuildPipeline/BuildTasks/TaskCreatePackage_RFBP.cs.meta create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/RawFileBuildPipeline/BuildTasks/TaskCreateReport_RFBP.cs create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/RawFileBuildPipeline/BuildTasks/TaskCreateReport_RFBP.cs.meta create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/RawFileBuildPipeline/BuildTasks/TaskGetBuildMap_RFBP.cs create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/RawFileBuildPipeline/BuildTasks/TaskGetBuildMap_RFBP.cs.meta create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/RawFileBuildPipeline/BuildTasks/TaskPrepare_RFBP.cs create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/RawFileBuildPipeline/BuildTasks/TaskPrepare_RFBP.cs.meta create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/RawFileBuildPipeline/BuildTasks/TaskUpdateBundleInfo_RFBP.cs create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/RawFileBuildPipeline/BuildTasks/TaskUpdateBundleInfo_RFBP.cs.meta create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/RawFileBuildPipeline/RawFileBuildParameters.cs create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/RawFileBuildPipeline/RawFileBuildParameters.cs.meta create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/RawFileBuildPipeline/RawFileBuildPipeline.cs create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/RawFileBuildPipeline/RawFileBuildPipeline.cs.meta create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/ScriptableBuildPipeline.meta create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/ScriptableBuildPipeline/BuildTasks.meta rename Assets/YooAsset/Editor/AssetBundleBuilder/{ => BuildPipeline/ScriptableBuildPipeline}/BuildTasks/TaskBuilding_SBP.cs (91%) rename Assets/YooAsset/Editor/AssetBundleBuilder/{ => BuildPipeline/ScriptableBuildPipeline}/BuildTasks/TaskBuilding_SBP.cs.meta (83%) create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/ScriptableBuildPipeline/BuildTasks/TaskCopyBuildinFiles_SBP.cs create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/ScriptableBuildPipeline/BuildTasks/TaskCopyBuildinFiles_SBP.cs.meta create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/ScriptableBuildPipeline/BuildTasks/TaskCreateManifest_SBP.cs create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/ScriptableBuildPipeline/BuildTasks/TaskCreateManifest_SBP.cs.meta create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/ScriptableBuildPipeline/BuildTasks/TaskCreatePackage_SBP.cs create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/ScriptableBuildPipeline/BuildTasks/TaskCreatePackage_SBP.cs.meta create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/ScriptableBuildPipeline/BuildTasks/TaskCreateReport_SBP.cs create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/ScriptableBuildPipeline/BuildTasks/TaskCreateReport_SBP.cs.meta create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/ScriptableBuildPipeline/BuildTasks/TaskEncryption_SBP.cs create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/ScriptableBuildPipeline/BuildTasks/TaskEncryption_SBP.cs.meta create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/ScriptableBuildPipeline/BuildTasks/TaskGetBuildMap_SBP.cs create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/ScriptableBuildPipeline/BuildTasks/TaskGetBuildMap_SBP.cs.meta create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/ScriptableBuildPipeline/BuildTasks/TaskPrepare_SBP.cs create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/ScriptableBuildPipeline/BuildTasks/TaskPrepare_SBP.cs.meta create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/ScriptableBuildPipeline/BuildTasks/TaskUpdateBundleInfo_SBP.cs create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/ScriptableBuildPipeline/BuildTasks/TaskUpdateBundleInfo_SBP.cs.meta rename Assets/YooAsset/Editor/AssetBundleBuilder/{ => BuildPipeline/ScriptableBuildPipeline}/BuildTasks/TaskVerifyBuildResult_SBP.cs (86%) rename Assets/YooAsset/Editor/AssetBundleBuilder/{ => BuildPipeline/ScriptableBuildPipeline}/BuildTasks/TaskVerifyBuildResult_SBP.cs.meta (100%) rename Assets/YooAsset/Editor/AssetBundleBuilder/{BuildTasks/ExtdBuildTasks.cs => BuildPipeline/ScriptableBuildPipeline/BuildTasksEx.cs} (100%) rename Assets/YooAsset/Editor/AssetBundleBuilder/{BuildTasks/ExtdBuildTasks.cs.meta => BuildPipeline/ScriptableBuildPipeline/BuildTasksEx.cs.meta} (100%) rename Assets/YooAsset/Editor/AssetBundleBuilder/{BuildTasks => BuildPipeline/ScriptableBuildPipeline}/SBPBuildTasks.cs (100%) rename Assets/YooAsset/Editor/AssetBundleBuilder/{BuildTasks => BuildPipeline/ScriptableBuildPipeline}/SBPBuildTasks.cs.meta (100%) create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/ScriptableBuildPipeline/ScriptableBuildParameters.cs create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/ScriptableBuildPipeline/ScriptableBuildParameters.cs.meta create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/ScriptableBuildPipeline/ScriptableBuildPipeline.cs create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildPipeline/ScriptableBuildPipeline/ScriptableBuildPipeline.cs.meta delete mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildTasks/TaskCopyBuildinFiles.cs delete mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildTasks/TaskCreateManifest.cs delete mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildTasks/TaskCreatePackage.cs delete mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildTasks/TaskGetBuildMap.cs delete mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildTasks/TaskPrepare.cs delete mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildTasks/TaskUpdateBundleInfo.cs delete mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/BuildTasks/TaskVerifyBuildResult.cs rename Assets/YooAsset/Editor/AssetBundleBuilder/{ECopyBuildinFileOption.cs => EBuildinFileCopyOption.cs} (94%) rename Assets/YooAsset/Editor/AssetBundleBuilder/{ECopyBuildinFileOption.cs.meta => EBuildinFileCopyOption.cs.meta} (100%) rename Assets/YooAsset/Editor/AssetBundleBuilder/{EOutputNameStyle.cs => EFileNameStyle.cs} (50%) rename Assets/YooAsset/Editor/AssetBundleBuilder/{EOutputNameStyle.cs.meta => EFileNameStyle.cs.meta} (100%) create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/IBuildPipeline.cs create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/IBuildPipeline.cs.meta create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/VisualViewers.meta create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/VisualViewers/BuildPipelineViewerBase.cs create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/VisualViewers/BuildPipelineViewerBase.cs.meta create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/VisualViewers/BuildPipelineViewerBase.uxml create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/VisualViewers/BuildPipelineViewerBase.uxml.meta create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/VisualViewers/BuiltinBuildPipelineViewer.cs create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/VisualViewers/BuiltinBuildPipelineViewer.cs.meta create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/VisualViewers/RawfileBuildpipelineViewer.cs create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/VisualViewers/RawfileBuildpipelineViewer.cs.meta create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/VisualViewers/ScriptableBuildPipelineViewer.cs create mode 100644 Assets/YooAsset/Editor/AssetBundleBuilder/VisualViewers/ScriptableBuildPipelineViewer.cs.meta delete mode 100644 Assets/YooAsset/Editor/AssetBundleCollector/CollectRules/ISharedPackRule.cs delete mode 100644 Assets/YooAsset/Editor/AssetBundleCollector/CollectRules/ISharedPackRule.cs.meta delete mode 100644 Assets/YooAsset/Editor/AssetBundleCollector/DefaultRules/DefaultSharedPackRule.cs delete mode 100644 Assets/YooAsset/Editor/AssetBundleCollector/DefaultRules/DefaultSharedPackRule.cs.meta create mode 100644 Assets/YooAsset/Editor/UIElements.meta rename Assets/YooAsset/Editor/{UxmlDefine.cs => UIElements/UIElementsDefine.cs} (100%) rename Assets/YooAsset/Editor/{UxmlDefine.cs.meta => UIElements/UIElementsDefine.cs.meta} (100%) rename Assets/YooAsset/Editor/{UxmlExtension.cs => UIElements/UIElementsExtension.cs} (100%) rename Assets/YooAsset/Editor/{UxmlExtension.cs.meta => UIElements/UIElementsExtension.cs.meta} (100%) create mode 100644 Assets/YooAsset/Editor/UIElements/UIElementsTools.cs create mode 100644 Assets/YooAsset/Editor/UIElements/UIElementsTools.cs.meta rename Assets/YooAsset/Editor/{ => UIElements}/UxmlLoader.cs (100%) rename Assets/YooAsset/Editor/{ => UIElements}/UxmlLoader.cs.meta (100%) rename Assets/YooAsset/Runtime/{Properties => }/AssemblyInfo.cs (100%) rename Assets/YooAsset/Runtime/{Properties => }/AssemblyInfo.cs.meta (100%) delete mode 100644 Assets/YooAsset/Runtime/AssetSystem/Loader/EBundleLoadMethod.cs delete mode 100644 Assets/YooAsset/Runtime/AssetSystem/Loader/EBundleLoadMethod.cs.meta create mode 100644 Assets/YooAsset/Runtime/CacheSystem/CacheHelper.cs rename Assets/YooAsset/Runtime/CacheSystem/{CacheSystem.cs.meta => CacheHelper.cs.meta} (100%) rename Assets/YooAsset/Runtime/CacheSystem/{PackageCache.cs => CacheManager.cs} (70%) rename Assets/YooAsset/Runtime/CacheSystem/{PackageCache.cs.meta => CacheManager.cs.meta} (100%) delete mode 100644 Assets/YooAsset/Runtime/CacheSystem/CacheSystem.cs rename Assets/YooAsset/Runtime/CacheSystem/{Operations.meta => Operation.meta} (100%) rename Assets/YooAsset/Runtime/CacheSystem/{Operations => Operation}/ClearAllCacheFilesOperation.cs (84%) rename Assets/YooAsset/Runtime/CacheSystem/{Operations => Operation}/ClearAllCacheFilesOperation.cs.meta (100%) rename Assets/YooAsset/Runtime/CacheSystem/{Operations => Operation}/ClearUnusedCacheFilesOperation.cs (75%) rename Assets/YooAsset/Runtime/CacheSystem/{Operations => Operation}/ClearUnusedCacheFilesOperation.cs.meta (100%) rename Assets/YooAsset/Runtime/CacheSystem/{Operations => Operation}/Internal.meta (100%) create mode 100644 Assets/YooAsset/Runtime/CacheSystem/Operation/Internal/FindCacheFilesOperation.cs rename Assets/YooAsset/Runtime/CacheSystem/{Operations => Operation}/Internal/FindCacheFilesOperation.cs.meta (100%) rename Assets/YooAsset/Runtime/CacheSystem/{Operations => Operation}/Internal/VerifyCacheFilesOperation.cs (85%) rename Assets/YooAsset/Runtime/CacheSystem/{Operations => Operation}/Internal/VerifyCacheFilesOperation.cs.meta (100%) rename Assets/YooAsset/Runtime/CacheSystem/{Operations => Operation}/Internal/VerifyTempFileOperation.cs (96%) rename Assets/YooAsset/Runtime/CacheSystem/{Operations => Operation}/Internal/VerifyTempFileOperation.cs.meta (100%) rename Assets/YooAsset/Runtime/CacheSystem/{Operations => Operation}/PackageCachingOperation.cs (65%) rename Assets/YooAsset/Runtime/CacheSystem/{Operations => Operation}/PackageCachingOperation.cs.meta (100%) delete mode 100644 Assets/YooAsset/Runtime/CacheSystem/Operations/Internal/FindCacheFilesOperation.cs create mode 100644 Assets/YooAsset/Runtime/CacheSystem/PersistentHelper.cs rename Assets/YooAsset/Runtime/CacheSystem/{PersistentTools.cs.meta => PersistentHelper.cs.meta} (100%) rename Assets/YooAsset/Runtime/CacheSystem/{Persistent.cs => PersistentManager.cs} (57%) rename Assets/YooAsset/Runtime/CacheSystem/{Persistent.cs.meta => PersistentManager.cs.meta} (100%) delete mode 100644 Assets/YooAsset/Runtime/CacheSystem/PersistentTools.cs create mode 100644 Assets/YooAsset/Runtime/DownloadSystem/DownloadHelper.cs rename Assets/YooAsset/Runtime/DownloadSystem/{DownloadSystem.cs.meta => DownloadHelper.cs.meta} (100%) create mode 100644 Assets/YooAsset/Runtime/DownloadSystem/DownloadManager.cs create mode 100644 Assets/YooAsset/Runtime/DownloadSystem/DownloadManager.cs.meta delete mode 100644 Assets/YooAsset/Runtime/DownloadSystem/DownloadReport.cs create mode 100644 Assets/YooAsset/Runtime/DownloadSystem/DownloadStatus.cs rename Assets/YooAsset/Runtime/DownloadSystem/{DownloadReport.cs.meta => DownloadStatus.cs.meta} (100%) delete mode 100644 Assets/YooAsset/Runtime/DownloadSystem/DownloadSystem.cs rename Assets/YooAsset/Runtime/DownloadSystem/Downloader/{FileGeneralDownloader.cs => FileDownloader.cs} (55%) rename Assets/YooAsset/Runtime/DownloadSystem/Downloader/{FileGeneralDownloader.cs.meta => FileDownloader.cs.meta} (100%) delete mode 100644 Assets/YooAsset/Runtime/DownloadSystem/Downloader/FileResumeDownloader.cs delete mode 100644 Assets/YooAsset/Runtime/DownloadSystem/Downloader/FileResumeDownloader.cs.meta create mode 100644 Assets/YooAsset/Runtime/DownloadSystem/RemoteTools.cs create mode 100644 Assets/YooAsset/Runtime/DownloadSystem/RemoteTools.cs.meta create mode 100644 Assets/YooAsset/Runtime/DownloadSystem/Requester.meta create mode 100644 Assets/YooAsset/Runtime/DownloadSystem/Requester/AssetBundleWebRequest.cs create mode 100644 Assets/YooAsset/Runtime/DownloadSystem/Requester/AssetBundleWebRequest.cs.meta rename Assets/YooAsset/Runtime/DownloadSystem/{Downloader => Requester}/DownloadHandlerFileRange.cs (100%) rename Assets/YooAsset/Runtime/DownloadSystem/{Downloader => Requester}/DownloadHandlerFileRange.cs.meta (100%) create mode 100644 Assets/YooAsset/Runtime/DownloadSystem/Requester/FileGeneralRequest.cs create mode 100644 Assets/YooAsset/Runtime/DownloadSystem/Requester/FileGeneralRequest.cs.meta create mode 100644 Assets/YooAsset/Runtime/DownloadSystem/Requester/FileResumeRequest.cs create mode 100644 Assets/YooAsset/Runtime/DownloadSystem/Requester/FileResumeRequest.cs.meta create mode 100644 Assets/YooAsset/Runtime/DownloadSystem/Requester/IWebRequester.cs create mode 100644 Assets/YooAsset/Runtime/DownloadSystem/Requester/IWebRequester.cs.meta delete mode 100644 Assets/YooAsset/Runtime/PackageSystem/BundleInfo.cs delete mode 100644 Assets/YooAsset/Runtime/PackageSystem/PackageBundle.cs delete mode 100644 Assets/YooAsset/Runtime/PackageSystem/PlayMode/EditorSimulateModeImpl.cs delete mode 100644 Assets/YooAsset/Runtime/PackageSystem/PlayMode/WebPlayModeImpl.cs rename Assets/YooAsset/Runtime/{AssetSystem.meta => ResourceManager.meta} (100%) rename Assets/YooAsset/Runtime/{AssetSystem/Handles.meta => ResourceManager/Handle.meta} (100%) rename Assets/YooAsset/Runtime/{AssetSystem/Handles/AllAssetsOperationHandle.cs => ResourceManager/Handle/AllAssetsHandle.cs} (71%) rename Assets/YooAsset/Runtime/{AssetSystem/Handles/AllAssetsOperationHandle.cs.meta => ResourceManager/Handle/AllAssetsHandle.cs.meta} (100%) rename Assets/YooAsset/Runtime/{AssetSystem/Handles/AssetOperationHandle.cs => ResourceManager/Handle/AssetHandle.cs} (89%) rename Assets/YooAsset/Runtime/{AssetSystem/Handles/AssetOperationHandle.cs.meta => ResourceManager/Handle/AssetHandle.cs.meta} (100%) rename Assets/YooAsset/Runtime/{AssetSystem/Handles/OperationHandleBase.cs => ResourceManager/Handle/HandleBase.cs} (92%) rename Assets/YooAsset/Runtime/{AssetSystem/Handles/OperationHandleBase.cs.meta => ResourceManager/Handle/HandleBase.cs.meta} (100%) rename Assets/YooAsset/Runtime/{AssetSystem/Handles/RawFileOperationHandle.cs => ResourceManager/Handle/RawFileHandle.cs} (78%) rename Assets/YooAsset/Runtime/{AssetSystem/Handles/RawFileOperationHandle.cs.meta => ResourceManager/Handle/RawFileHandle.cs.meta} (100%) rename Assets/YooAsset/Runtime/{AssetSystem/Handles/SceneOperationHandle.cs => ResourceManager/Handle/SceneHandle.cs} (82%) rename Assets/YooAsset/Runtime/{AssetSystem/Handles/SceneOperationHandle.cs.meta => ResourceManager/Handle/SceneHandle.cs.meta} (100%) rename Assets/YooAsset/Runtime/{AssetSystem/Handles/SubAssetsOperationHandle.cs => ResourceManager/Handle/SubAssetsHandle.cs} (83%) rename Assets/YooAsset/Runtime/{AssetSystem/Handles/SubAssetsOperationHandle.cs.meta => ResourceManager/Handle/SubAssetsHandle.cs.meta} (100%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Loader.meta (100%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Loader/AssetBundleFileLoader.cs (61%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Loader/AssetBundleFileLoader.cs.meta (100%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Loader/AssetBundleWebLoader.cs (80%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Loader/AssetBundleWebLoader.cs.meta (100%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Loader/BundleLoaderBase.cs (89%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Loader/BundleLoaderBase.cs.meta (100%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Loader/DependAssetBundles.cs (100%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Loader/DependAssetBundles.cs.meta (100%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Loader/RawBundleFileLoader.cs (84%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Loader/RawBundleFileLoader.cs.meta (100%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Loader/RawBundleWebLoader.cs (84%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Loader/RawBundleWebLoader.cs.meta (100%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Loader/VirtualBundleFileLoader.cs (95%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Loader/VirtualBundleFileLoader.cs.meta (100%) rename Assets/YooAsset/Runtime/{AssetSystem/Operations.meta => ResourceManager/Operation.meta} (100%) rename Assets/YooAsset/Runtime/{AssetSystem/Operations => ResourceManager/Operation}/InstantiateOperation.cs (88%) rename Assets/YooAsset/Runtime/{AssetSystem/Operations => ResourceManager/Operation}/InstantiateOperation.cs.meta (100%) rename Assets/YooAsset/Runtime/{AssetSystem/Operations => ResourceManager/Operation}/UnloadSceneOperation.cs (100%) rename Assets/YooAsset/Runtime/{AssetSystem/Operations => ResourceManager/Operation}/UnloadSceneOperation.cs.meta (100%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Provider.meta (100%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Provider/BundledAllAssetsProvider.cs (97%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Provider/BundledAllAssetsProvider.cs.meta (100%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Provider/BundledAssetProvider.cs (97%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Provider/BundledAssetProvider.cs.meta (100%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Provider/BundledRawFileProvider.cs (93%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Provider/BundledRawFileProvider.cs.meta (100%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Provider/BundledSceneProvider.cs (97%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Provider/BundledSceneProvider.cs.meta (100%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Provider/BundledSubAssetsProvider.cs (97%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Provider/BundledSubAssetsProvider.cs.meta (100%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Provider/CompletedProvider.cs (100%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Provider/CompletedProvider.cs.meta (100%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Provider/DatabaseAllAssetsProvider.cs (96%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Provider/DatabaseAllAssetsProvider.cs.meta (100%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Provider/DatabaseAssetProvider.cs (97%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Provider/DatabaseAssetProvider.cs.meta (100%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Provider/DatabaseRawFileProvider.cs (95%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Provider/DatabaseRawFileProvider.cs.meta (100%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Provider/DatabaseSceneProvider.cs (97%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Provider/DatabaseSceneProvider.cs.meta (100%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Provider/DatabaseSubAssetsProvider.cs (97%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Provider/DatabaseSubAssetsProvider.cs.meta (100%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Provider/ProviderBase.cs (77%) rename Assets/YooAsset/Runtime/{AssetSystem => ResourceManager}/Provider/ProviderBase.cs.meta (100%) create mode 100644 Assets/YooAsset/Runtime/ResourceManager/ResourceLoader.cs create mode 100644 Assets/YooAsset/Runtime/ResourceManager/ResourceLoader.cs.meta rename Assets/YooAsset/Runtime/{AssetSystem/AssetSystem.cs => ResourceManager/ResourceManager.cs} (81%) rename Assets/YooAsset/Runtime/{AssetSystem/AssetSystem.cs.meta => ResourceManager/ResourceManager.cs.meta} (100%) rename Assets/YooAsset/Runtime/{PackageSystem.meta => ResourcePackage.meta} (100%) rename Assets/YooAsset/Runtime/{PackageSystem => ResourcePackage}/AssetInfo.cs (81%) rename Assets/YooAsset/Runtime/{PackageSystem => ResourcePackage}/AssetInfo.cs.meta (100%) create mode 100644 Assets/YooAsset/Runtime/ResourcePackage/BundleInfo.cs rename Assets/YooAsset/Runtime/{PackageSystem => ResourcePackage}/BundleInfo.cs.meta (100%) create mode 100644 Assets/YooAsset/Runtime/ResourcePackage/Interface.meta create mode 100644 Assets/YooAsset/Runtime/ResourcePackage/Interface/IBundleQuery.cs rename Assets/YooAsset/Runtime/{Services/Internal/IBundleServices.cs.meta => ResourcePackage/Interface/IBundleQuery.cs.meta} (100%) rename Assets/YooAsset/Runtime/{Services/Internal/IPlayModeServices.cs => ResourcePackage/Interface/IPlayMode.cs} (97%) rename Assets/YooAsset/Runtime/{Services/Internal/IPlayModeServices.cs.meta => ResourcePackage/Interface/IPlayMode.cs.meta} (100%) rename Assets/YooAsset/Runtime/{PackageSystem => ResourcePackage}/ManifestTools.cs (82%) rename Assets/YooAsset/Runtime/{PackageSystem => ResourcePackage}/ManifestTools.cs.meta (100%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations.meta => ResourcePackage/Operation.meta} (100%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/DownloaderOperation.cs (84%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/DownloaderOperation.cs.meta (100%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/InitializationOperation.cs (83%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/InitializationOperation.cs.meta (100%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/Internal.meta (100%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/Internal/DeserializeManifestOperation.cs (95%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/Internal/DeserializeManifestOperation.cs.meta (100%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/Internal/DownloadManifestOperation.cs (75%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/Internal/DownloadManifestOperation.cs.meta (100%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/Internal/LoadBuildinManifestOperation.cs (80%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/Internal/LoadBuildinManifestOperation.cs.meta (100%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/Internal/LoadCacheManifestOperation.cs (85%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/Internal/LoadCacheManifestOperation.cs.meta (100%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/Internal/LoadEditorManifestOperation.cs (88%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/Internal/LoadEditorManifestOperation.cs.meta (100%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/Internal/LoadRemoteManifestOperation.cs (90%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/Internal/LoadRemoteManifestOperation.cs.meta (100%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/Internal/QueryBuildinPackageVersionOperation.cs (81%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/Internal/QueryBuildinPackageVersionOperation.cs.meta (100%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/Internal/QueryCachePackageHashOperation.cs (81%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/Internal/QueryCachePackageHashOperation.cs.meta (100%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/Internal/QueryCachePackageVersionOperation.cs (82%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/Internal/QueryCachePackageVersionOperation.cs.meta (100%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/Internal/QueryRemotePackageHashOperation.cs (90%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/Internal/QueryRemotePackageHashOperation.cs.meta (100%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/Internal/QueryRemotePackageVersionOperation.cs (91%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/Internal/QueryRemotePackageVersionOperation.cs.meta (100%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/Internal/UnpackBuildinManifestOperation.cs (66%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/Internal/UnpackBuildinManifestOperation.cs.meta (100%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/PreDownloadContentOperation.cs (51%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/PreDownloadContentOperation.cs.meta (100%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/UpdatePackageManifestOperation.cs (83%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/UpdatePackageManifestOperation.cs.meta (100%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/UpdatePackageVersionOperation.cs (87%) rename Assets/YooAsset/Runtime/{PackageSystem/Operations => ResourcePackage/Operation}/UpdatePackageVersionOperation.cs.meta (100%) rename Assets/YooAsset/Runtime/{PackageSystem => ResourcePackage}/PackageAsset.cs (90%) rename Assets/YooAsset/Runtime/{PackageSystem => ResourcePackage}/PackageAsset.cs.meta (100%) create mode 100644 Assets/YooAsset/Runtime/ResourcePackage/PackageBundle.cs rename Assets/YooAsset/Runtime/{PackageSystem => ResourcePackage}/PackageBundle.cs.meta (100%) rename Assets/YooAsset/Runtime/{PackageSystem => ResourcePackage}/PackageManifest.cs (86%) rename Assets/YooAsset/Runtime/{PackageSystem => ResourcePackage}/PackageManifest.cs.meta (100%) rename Assets/YooAsset/Runtime/{PackageSystem => ResourcePackage}/PlayMode.meta (100%) rename Assets/YooAsset/Runtime/{PackageSystem => ResourcePackage}/PlayMode/EditorSimulateModeHelper.cs (77%) rename Assets/YooAsset/Runtime/{PackageSystem => ResourcePackage}/PlayMode/EditorSimulateModeHelper.cs.meta (100%) create mode 100644 Assets/YooAsset/Runtime/ResourcePackage/PlayMode/EditorSimulateModeImpl.cs rename Assets/YooAsset/Runtime/{PackageSystem => ResourcePackage}/PlayMode/EditorSimulateModeImpl.cs.meta (100%) rename Assets/YooAsset/Runtime/{PackageSystem => ResourcePackage}/PlayMode/HostPlayModeImpl.cs (65%) rename Assets/YooAsset/Runtime/{PackageSystem => ResourcePackage}/PlayMode/HostPlayModeImpl.cs.meta (100%) rename Assets/YooAsset/Runtime/{PackageSystem => ResourcePackage}/PlayMode/OfflinePlayModeImpl.cs (50%) rename Assets/YooAsset/Runtime/{PackageSystem => ResourcePackage}/PlayMode/OfflinePlayModeImpl.cs.meta (100%) create mode 100644 Assets/YooAsset/Runtime/ResourcePackage/PlayMode/WebPlayModeImpl.cs rename Assets/YooAsset/Runtime/{PackageSystem => ResourcePackage}/PlayMode/WebPlayModeImpl.cs.meta (100%) create mode 100644 Assets/YooAsset/Runtime/ResourcePackage/ResourceAssist.cs create mode 100644 Assets/YooAsset/Runtime/ResourcePackage/ResourceAssist.cs.meta rename Assets/YooAsset/Runtime/{PackageSystem => ResourcePackage}/ResourcePackage.cs (72%) rename Assets/YooAsset/Runtime/{PackageSystem => ResourcePackage}/ResourcePackage.cs.meta (100%) create mode 100644 Assets/YooAsset/Runtime/Services/IDeliveryLoadServices.cs create mode 100644 Assets/YooAsset/Runtime/Services/IDeliveryLoadServices.cs.meta delete mode 100644 Assets/YooAsset/Runtime/Services/Internal/IBundleServices.cs diff --git a/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilder.cs b/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilder.cs index 92b6518..f86beb6 100644 --- a/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilder.cs +++ b/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilder.cs @@ -15,7 +15,7 @@ namespace YooAsset.Editor /// /// 构建资源包 /// - public BuildResult Run(BuildParameters buildParameters, List buildPipeline) + public BuildResult Run(BuildParameters buildParameters, List buildPipeline, bool enableLog) { // 检测构建参数是否为空 if (buildParameters == null) @@ -33,9 +33,10 @@ namespace YooAsset.Editor _buildContext.SetContextObject(buildParametersContext); // 初始化日志 - BuildLogger.InitLogger(buildParameters.EnableLog); + BuildLogger.InitLogger(enableLog); // 执行构建流程 + Debug.Log($"Begin to build package : {buildParameters.PackageName} by {buildParameters.BuildPipeline}"); var buildResult = BuildRunner.Run(buildPipeline, _buildContext); if (buildResult.Success) { @@ -51,62 +52,5 @@ namespace YooAsset.Editor return buildResult; } - - /// - /// 构建资源包 - /// - public BuildResult Run(BuildParameters buildParameters) - { - var buildPipeline = GetDefaultBuildPipeline(buildParameters.BuildPipeline); - return Run(buildParameters, buildPipeline); - } - - /// - /// 获取默认的构建流程 - /// - private List GetDefaultBuildPipeline(EBuildPipeline buildPipeline) - { - // 获取任务节点的属性集合 - if (buildPipeline == EBuildPipeline.BuiltinBuildPipeline) - { - List pipeline = new List - { - new TaskPrepare(), //前期准备工作 - new TaskGetBuildMap(), //获取构建列表 - new TaskBuilding(), //开始执行构建 - new TaskCopyRawFile(), //拷贝原生文件 - new TaskVerifyBuildResult(), //验证构建结果 - new TaskEncryption(), //加密资源文件 - new TaskUpdateBundleInfo(), //更新资源包信息 - new TaskCreateManifest(), //创建清单文件 - new TaskCreateReport(), //创建报告文件 - new TaskCreatePackage(), //制作包裹 - new TaskCopyBuildinFiles(), //拷贝内置文件 - }; - return pipeline; - } - else if (buildPipeline == EBuildPipeline.ScriptableBuildPipeline) - { - List pipeline = new List - { - new TaskPrepare(), //前期准备工作 - new TaskGetBuildMap(), //获取构建列表 - new TaskBuilding_SBP(), //开始执行构建 - new TaskCopyRawFile(), //拷贝原生文件 - new TaskVerifyBuildResult_SBP(), //验证构建结果 - new TaskEncryption(), //加密资源文件 - new TaskUpdateBundleInfo(), //更新补丁信息 - new TaskCreateManifest(), //创建清单文件 - new TaskCreateReport(), //创建报告文件 - new TaskCreatePackage(), //制作补丁包 - new TaskCopyBuildinFiles(), //拷贝内置文件 - }; - return pipeline; - } - else - { - throw new NotImplementedException(); - } - } } } \ No newline at end of file diff --git a/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilderHelper.cs b/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilderHelper.cs index 35d30b4..050b937 100644 --- a/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilderHelper.cs +++ b/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilderHelper.cs @@ -20,7 +20,7 @@ namespace YooAsset.Editor /// /// 获取流文件夹路径 /// - public static string GetDefaultStreamingAssetsRoot() + public static string GetStreamingAssetsRoot() { return $"{Application.dataPath}/StreamingAssets/{YooAssetSettings.DefaultYooFolderName}/"; } diff --git a/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilderSetting.cs b/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilderSetting.cs index 3d93766..77bcc6d 100644 --- a/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilderSetting.cs +++ b/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilderSetting.cs @@ -1,49 +1,93 @@ using System; using UnityEngine; +using UnityEditor; namespace YooAsset.Editor { - [CreateAssetMenu(fileName = "AssetBundleBuilderSetting", menuName = "YooAsset/Create AssetBundle Builder Settings")] - public class AssetBundleBuilderSetting : ScriptableObject + public static class AssetBundleBuilderSetting { - /// - /// 构建管线 - /// - public EBuildPipeline BuildPipeline = EBuildPipeline.BuiltinBuildPipeline; + // EBuildPipeline + public static EBuildPipeline GetPackageBuildPipeline(string packageName) + { + string key = $"{Application.productName}_{packageName}_{nameof(EBuildPipeline)}"; + return (EBuildPipeline)EditorPrefs.GetInt(key, (int)EBuildPipeline.BuiltinBuildPipeline); + } + public static void SetPackageBuildPipeline(string packageName, EBuildPipeline buildPipeline) + { + string key = $"{Application.productName}_{packageName}_{nameof(EBuildPipeline)}"; + EditorPrefs.SetInt(key, (int)buildPipeline); + } - /// - /// 构建模式 - /// - public EBuildMode BuildMode = EBuildMode.ForceRebuild; + // EBuildMode + public static EBuildMode GetPackageBuildMode(string packageName, EBuildPipeline buildPipeline) + { + string key = $"{Application.productName}_{packageName}_{buildPipeline}_{nameof(EBuildMode)}"; + return (EBuildMode)EditorPrefs.GetInt(key, (int)EBuildMode.ForceRebuild); + } + public static void SetPackageBuildMode(string packageName, EBuildPipeline buildPipeline, EBuildMode buildMode) + { + string key = $"{Application.productName}_{packageName}_{buildPipeline}_{nameof(EBuildMode)}"; + EditorPrefs.SetInt(key, (int)buildMode); + } - /// - /// 构建的包裹名称 - /// - public string BuildPackage = string.Empty; + // ECompressOption + public static ECompressOption GetPackageCompressOption(string packageName, EBuildPipeline buildPipeline) + { + string key = $"{Application.productName}_{packageName}_{buildPipeline}_{nameof(ECompressOption)}"; + return (ECompressOption)EditorPrefs.GetInt(key, (int)ECompressOption.LZ4); + } + public static void SetPackageCompressOption(string packageName, EBuildPipeline buildPipeline, ECompressOption compressOption) + { + string key = $"{Application.productName}_{packageName}_{buildPipeline}_{nameof(ECompressOption)}"; + EditorPrefs.SetInt(key, (int)compressOption); + } - /// - /// 压缩方式 - /// - public ECompressOption CompressOption = ECompressOption.LZ4; + // EFileNameStyle + public static EFileNameStyle GetPackageFileNameStyle(string packageName, EBuildPipeline buildPipeline) + { + string key = $"{Application.productName}_{packageName}_{buildPipeline}_{nameof(EFileNameStyle)}"; + return (EFileNameStyle)EditorPrefs.GetInt(key, (int)EFileNameStyle.HashName); + } + public static void SetPackageFileNameStyle(string packageName, EBuildPipeline buildPipeline, EFileNameStyle fileNameStyle) + { + string key = $"{Application.productName}_{packageName}_{buildPipeline}_{nameof(EFileNameStyle)}"; + EditorPrefs.SetInt(key, (int)fileNameStyle); + } - /// - /// 输出文件名称样式 - /// - public EOutputNameStyle OutputNameStyle = EOutputNameStyle.HashName; + // EBuildinFileCopyOption + public static EBuildinFileCopyOption GetPackageBuildinFileCopyOption(string packageName, EBuildPipeline buildPipeline) + { + string key = $"{Application.productName}_{packageName}_{buildPipeline}_{nameof(EBuildinFileCopyOption)}"; + return (EBuildinFileCopyOption)EditorPrefs.GetInt(key, (int)EBuildinFileCopyOption.None); + } + public static void SetPackageBuildinFileCopyOption(string packageName, EBuildPipeline buildPipeline, EBuildinFileCopyOption buildinFileCopyOption) + { + string key = $"{Application.productName}_{packageName}_{buildPipeline}_{nameof(EBuildinFileCopyOption)}"; + EditorPrefs.SetInt(key, (int)buildinFileCopyOption); + } - /// - /// 首包资源文件的拷贝方式 - /// - public ECopyBuildinFileOption CopyBuildinFileOption = ECopyBuildinFileOption.None; + // BuildFileCopyParams + public static string GetPackageBuildinFileCopyParams(string packageName, EBuildPipeline buildPipeline) + { + string key = $"{Application.productName}_{packageName}_{buildPipeline}_BuildFileCopyParams"; + return EditorPrefs.GetString(key, string.Empty); + } + public static void SetPackageBuildinFileCopyParams(string packageName, EBuildPipeline buildPipeline, string buildinFileCopyParams) + { + string key = $"{Application.productName}_{packageName}_{buildPipeline}_BuildFileCopyParams"; + EditorPrefs.SetString(key, buildinFileCopyParams); + } - /// - /// 首包资源文件的标签集合 - /// - public string CopyBuildinFileTags = string.Empty; - - /// - /// 加密类名称 - /// - public string EncyptionClassName = string.Empty; + // EncyptionClassName + public static string GetPackageEncyptionClassName(string packageName, EBuildPipeline buildPipeline) + { + string key = $"{Application.productName}_{packageName}_{buildPipeline}_EncyptionClassName"; + return EditorPrefs.GetString(key, string.Empty); + } + public static void SetPackageEncyptionClassName(string packageName, EBuildPipeline buildPipeline, string encyptionClassName) + { + string key = $"{Application.productName}_{packageName}_{buildPipeline}_EncyptionClassName"; + EditorPrefs.SetString(key, encyptionClassName); + } } } \ No newline at end of file diff --git a/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilderSettingData.cs b/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilderSettingData.cs deleted file mode 100644 index 353931b..0000000 --- a/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilderSettingData.cs +++ /dev/null @@ -1,49 +0,0 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using UnityEngine; -using UnityEditor; - -namespace YooAsset.Editor -{ - public class AssetBundleBuilderSettingData - { - private static AssetBundleBuilderSetting _setting = null; - public static AssetBundleBuilderSetting Setting - { - get - { - if (_setting == null) - LoadSettingData(); - return _setting; - } - } - - /// - /// 配置数据是否被修改 - /// - public static bool IsDirty { set; get; } = false; - - /// - /// 加载配置文件 - /// - private static void LoadSettingData() - { - _setting = SettingLoader.LoadSettingData(); - } - - /// - /// 存储文件 - /// - public static void SaveFile() - { - if (Setting != null) - { - IsDirty = false; - EditorUtility.SetDirty(Setting); - AssetDatabase.SaveAssets(); - Debug.Log($"{nameof(AssetBundleBuilderSetting)}.asset is saved!"); - } - } - } -} \ No newline at end of file diff --git a/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilderWindow.cs b/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilderWindow.cs index 450e31e..3d930d7 100644 --- a/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilderWindow.cs +++ b/Assets/YooAsset/Editor/AssetBundleBuilder/AssetBundleBuilderWindow.cs @@ -18,22 +18,14 @@ namespace YooAsset.Editor window.minSize = new Vector2(800, 600); } - private BuildTarget _buildTarget; - private List _encryptionServicesClassTypes; - private List _encryptionServicesClassNames; - private List _buildPackageNames; + private string _buildPackage; + private EBuildPipeline _buildPipeline; + + private Toolbar _toolbar; + private ToolbarMenu _packageMenu; + private ToolbarMenu _pipelineMenu; + private VisualElement _container; - private Button _saveButton; - private TextField _buildOutputField; - private EnumField _buildPipelineField; - private EnumField _buildModeField; - private TextField _buildVersionField; - private PopupField _buildPackageField; - private PopupField _encryptionField; - private EnumField _compressionField; - private EnumField _outputNameStyleField; - private EnumField _copyBuildinFileOptionField; - private TextField _copyBuildinFileTagsField; public void CreateGUI() { @@ -47,276 +39,76 @@ namespace YooAsset.Editor return; visualAsset.CloneTree(root); + _toolbar = root.Q("Toolbar"); + _container = root.Q("Container"); - // 配置保存按钮 - _saveButton = root.Q