Resource location interface extension

资源定位接口扩展
This commit is contained in:
hevinci
2022-04-14 12:19:04 +08:00
parent eb6b6e3aba
commit 09a985fadb
11 changed files with 138 additions and 82 deletions
@@ -0,0 +1,21 @@
namespace YooAsset
{
internal interface IBundleServices
{
/// <summary>
/// 获取AssetBundle的信息
/// </summary>
BundleInfo GetBundleInfo(string bundleName);
/// <summary>
/// 获取资源所属的资源包名称
/// </summary>
string GetBundleName(string assetPath);
/// <summary>
/// 获取资源依赖的所有AssetBundle列表
/// </summary>
string[] GetAllDependencies(string assetPath);
}
}