Update BuildBundleInfo.cs

适配unity2019
pull/353/head
何冠峰 2024-08-27 15:45:46 +08:00
parent fa4ebfe3be
commit 04bd352a05
1 changed files with 4 additions and 0 deletions

View File

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