update asset system

修复了资源文件路径无效导致异常的问题。
This commit is contained in:
hevinci
2023-04-06 16:15:25 +08:00
parent e278883958
commit 896681df87

View File

@@ -103,6 +103,8 @@ namespace YooAsset
MainAssetInfo = assetInfo;
// 创建资源包加载器
if (impl != null)
{
OwnerBundle = impl.CreateOwnerAssetBundleLoader(assetInfo);
OwnerBundle.Reference();
OwnerBundle.AddProvider(this);
@@ -111,6 +113,7 @@ namespace YooAsset
DependBundleGroup = new DependAssetBundleGroup(dependBundles);
DependBundleGroup.Reference();
}
}
/// <summary>
/// 轮询更新方法