Update HandleFactory.cs

This commit is contained in:
何冠峰
2025-03-08 15:01:19 +08:00
parent cdbedee705
commit 772ba484eb

View File

@@ -5,7 +5,7 @@ namespace YooAsset
{ {
internal static class HandleFactory 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(AssetHandle), op => new AssetHandle(op) },
{ typeof(SceneHandle), op => new SceneHandle(op) }, { typeof(SceneHandle), op => new SceneHandle(op) },