Add load all asset method.

增加新的资源加载方法:加载资源对象所属资源包里的所有资源。
This commit is contained in:
hevinci
2022-05-06 23:15:03 +08:00
parent 65875b66c2
commit afc08d4e46
18 changed files with 605 additions and 112 deletions

View File

@@ -322,9 +322,13 @@ namespace YooAsset
return bundleInfo;
}
}
AssetInfo[] IBundleServices.GetAssetInfos(string bundleName)
{
return PatchHelper.GetAssetsInfoByBundleName(LocalPatchManifest, bundleName);
}
AssetInfo[] IBundleServices.GetAssetInfos(string[] tags)
{
return PatchHelper.GetAssetsInfoByTag(LocalPatchManifest, tags);
return PatchHelper.GetAssetsInfoByTags(LocalPatchManifest, tags);
}
string IBundleServices.MappingToAssetPath(string location)
{