parent
00688a65af
commit
3cbf891674
|
@ -426,6 +426,17 @@ namespace YooAsset
|
||||||
DebugCheckInitialize();
|
DebugCheckInitialize();
|
||||||
return _bundleServices.GetAssetInfos(tags);
|
return _bundleServices.GetAssetInfos(tags);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取资源路径
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="location">资源的定位地址</param>
|
||||||
|
/// <returns>如果location地址无效,则返回空字符串</returns>
|
||||||
|
public static string GetAssetPath(string location)
|
||||||
|
{
|
||||||
|
DebugCheckInitialize();
|
||||||
|
return _locationServices.ConvertLocationToAssetPath(location);
|
||||||
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region 场景加载
|
#region 场景加载
|
||||||
|
|
Loading…
Reference in New Issue