Files
YooAssetScene/Assets/YooAsset/Runtime/Services/IBundleServices.cs
T
hevinci 2cb006f3d9 Support addressable location
支持可寻址资源定位
2022-04-28 17:23:31 +08:00

26 lines
552 B
C#

namespace YooAsset
{
internal interface IBundleServices
{
/// <summary>
/// 获取AssetBundle的信息
/// </summary>
BundleInfo GetBundleInfo(string bundleName);
/// <summary>
/// 可寻址地址转换为资源路径
/// </summary>
string ConvertAddress(string address);
/// <summary>
/// 获取资源所属的资源包名称
/// </summary>
string GetBundleName(string assetPath);
/// <summary>
/// 获取资源依赖的所有AssetBundle列表
/// </summary>
string[] GetAllDependencies(string assetPath);
}
}