mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-28 11:38:47 +00:00
Update HandleFactory.cs
This commit is contained in:
@@ -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) },
|
||||||
|
|||||||
Reference in New Issue
Block a user