Files
YooAsset/Assets/YooAsset/Runtime/Services/IBundleServices.cs
hevinci 9ec841ff67 Add get asset info method.
增加获取资源信息的方法。
2022-05-03 12:23:08 +08:00

31 lines
646 B
C#

namespace YooAsset
{
internal interface IBundleServices
{
/// <summary>
/// 获取资源包信息
/// </summary>
BundleInfo GetBundleInfo(string bundleName);
/// <summary>
/// 获取资源信息列表
/// </summary>
AssetInfo[] GetAssetInfos(string[] tags);
/// <summary>
/// 映射为资源路径
/// </summary>
string MappingToAssetPath(string location);
/// <summary>
/// 获取资源所属的资源包名称
/// </summary>
string GetBundleName(string assetPath);
/// <summary>
/// 获取资源依赖的所有AssetBundle列表
/// </summary>
string[] GetAllDependencies(string assetPath);
}
}