Update HandleFactory.cs

pull/499/head
何冠峰 2025-03-08 15:01:19 +08:00
parent cdbedee705
commit 772ba484eb
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ namespace YooAsset
{
internal static class HandleFactory
{
private static readonly Dictionary<Type, Func<ProviderOperation, HandleBase>> _handleFactory = new()
private static readonly Dictionary<Type, Func<ProviderOperation, HandleBase>> _handleFactory = new Dictionary<Type, Func<ProviderOperation, HandleBase>>()
{
{ typeof(AssetHandle), op => new AssetHandle(op) },
{ typeof(SceneHandle), op => new SceneHandle(op) },