mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-29 12:41:00 +00:00
Update YooAssets.cs
This commit is contained in:
@@ -306,6 +306,16 @@ namespace YooAsset
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region 资源加载接口
|
#region 资源加载接口
|
||||||
|
/// <summary>
|
||||||
|
/// 异步加载原生文件
|
||||||
|
/// </summary>
|
||||||
|
public static RawFileOperation LoadRawFileAsync(string location, string savePath)
|
||||||
|
{
|
||||||
|
string assetPath = ConvertLocationToAssetPath(location);
|
||||||
|
return AssetSystem.LoadRawFileAsync(assetPath, savePath);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 同步加载资源对象
|
/// 同步加载资源对象
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user