diff --git a/Assets/YooAsset/Runtime/YooAssets.cs b/Assets/YooAsset/Runtime/YooAssets.cs index c83f969..0f601e5 100644 --- a/Assets/YooAsset/Runtime/YooAssets.cs +++ b/Assets/YooAsset/Runtime/YooAssets.cs @@ -306,6 +306,16 @@ namespace YooAsset #endregion #region 资源加载接口 + /// + /// 异步加载原生文件 + /// + public static RawFileOperation LoadRawFileAsync(string location, string savePath) + { + string assetPath = ConvertLocationToAssetPath(location); + return AssetSystem.LoadRawFileAsync(assetPath, savePath); + } + + /// /// 同步加载资源对象 ///