mirror of https://github.com/tuyoogame/YooAsset
Update YooAssets.cs
parent
da8d050b67
commit
3e8b8123e1
|
@ -306,6 +306,16 @@ namespace YooAsset
|
|||
#endregion
|
||||
|
||||
#region 资源加载接口
|
||||
/// <summary>
|
||||
/// 异步加载原生文件
|
||||
/// </summary>
|
||||
public static RawFileOperation LoadRawFileAsync(string location, string savePath)
|
||||
{
|
||||
string assetPath = ConvertLocationToAssetPath(location);
|
||||
return AssetSystem.LoadRawFileAsync(assetPath, savePath);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 同步加载资源对象
|
||||
/// </summary>
|
||||
|
|
Loading…
Reference in New Issue