Update YooAssets.cs

This commit is contained in:
hevinci
2022-03-23 00:29:23 +08:00
parent da8d050b67
commit 3e8b8123e1

View File

@@ -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>