diff --git a/Assets/YooAsset/Editor/AssetBundleBuilder/BuildBundleInfo.cs b/Assets/YooAsset/Editor/AssetBundleBuilder/BuildBundleInfo.cs index 994bae9..cbe2245 100644 --- a/Assets/YooAsset/Editor/AssetBundleBuilder/BuildBundleInfo.cs +++ b/Assets/YooAsset/Editor/AssetBundleBuilder/BuildBundleInfo.cs @@ -56,7 +56,11 @@ namespace YooAsset.Editor public string EncryptedFilePath { set; get; } #endregion +#if UNITY_2020_3_OR_NEWER private readonly HashSet _assetPaths = new HashSet(1000); +#else + private readonly HashSet _assetPaths = new HashSet(); +#endif /// /// 参与构建的资源列表