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