diff --git a/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollectorSettingData.cs b/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollectorSettingData.cs index 366fbcd..cc4989b 100644 --- a/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollectorSettingData.cs +++ b/Assets/YooAsset/Editor/AssetBundleCollector/AssetBundleCollectorSettingData.cs @@ -305,9 +305,9 @@ namespace YooAsset.Editor /// 获取所有收集的资源 /// 注意:跳过了不写入资源路径的收集器 /// - public static List GetAllCollectAssets() + public static List GetAllCollectAssets() { - Dictionary result = new Dictionary(10000); + Dictionary result = new Dictionary(10000); for (int i = 0; i < Setting.Collectors.Count; i++) { AssetBundleCollectorSetting.Collector collector = Setting.Collectors[i]; @@ -327,8 +327,8 @@ namespace YooAsset.Editor if (result.ContainsKey(assetPath) == false) { - var assetCollectInfo = new AssetCollectInfo(assetPath, collector.GetAssetTags(), isRawAsset); - result.Add(assetPath, assetCollectInfo); + var collectInfo = new CollectAssetInfo(assetPath, collector.GetAssetTags(), isRawAsset); + result.Add(assetPath, collectInfo); } } } diff --git a/Assets/YooAsset/Editor/AssetBundleCollector/AssetCollectInfo.cs b/Assets/YooAsset/Editor/AssetBundleCollector/CollectAssetInfo.cs similarity index 84% rename from Assets/YooAsset/Editor/AssetBundleCollector/AssetCollectInfo.cs rename to Assets/YooAsset/Editor/AssetBundleCollector/CollectAssetInfo.cs index 6758b1d..2d2734e 100644 --- a/Assets/YooAsset/Editor/AssetBundleCollector/AssetCollectInfo.cs +++ b/Assets/YooAsset/Editor/AssetBundleCollector/CollectAssetInfo.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; namespace YooAsset.Editor { - public class AssetCollectInfo + public class CollectAssetInfo { /// /// 资源路径 @@ -20,7 +20,7 @@ namespace YooAsset.Editor /// public bool IsRawAsset { private set; get; } - public AssetCollectInfo(string assetPath, List assetTags, bool isRawAsset) + public CollectAssetInfo(string assetPath, List assetTags, bool isRawAsset) { AssetPath = assetPath; AssetTags = assetTags; diff --git a/Assets/YooAsset/Editor/AssetBundleCollector/AssetCollectInfo.cs.meta b/Assets/YooAsset/Editor/AssetBundleCollector/CollectAssetInfo.cs.meta similarity index 100% rename from Assets/YooAsset/Editor/AssetBundleCollector/AssetCollectInfo.cs.meta rename to Assets/YooAsset/Editor/AssetBundleCollector/CollectAssetInfo.cs.meta