fix script compile error in unity 2020

This commit is contained in:
何冠峰
2024-12-26 10:55:30 +08:00
parent df77df4854
commit 666d0b53a6

View File

@@ -56,11 +56,7 @@ namespace YooAsset.Editor
public string EncryptedFilePath { set; get; }
#endregion
#if UNITY_2020_3_OR_NEWER
private readonly HashSet<string> _assetPaths = new HashSet<string>(1000);
#else
private readonly HashSet<string> _assetPaths = new HashSet<string>();
#endif
/// <summary>
/// 参与构建的资源列表