mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-20 15:20:07 +00:00
Update YooAssets.cs
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user