From 556b23b488735220e8228d7a0ade1715b9961106 Mon Sep 17 00:00:00 2001 From: hevinci Date: Wed, 29 Jun 2022 12:41:06 +0800 Subject: [PATCH] Update OperationHandleBase.cs --- .../Runtime/AssetSystem/Handles/OperationHandleBase.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Assets/YooAsset/Runtime/AssetSystem/Handles/OperationHandleBase.cs b/Assets/YooAsset/Runtime/AssetSystem/Handles/OperationHandleBase.cs index 5097643..a6d3713 100644 --- a/Assets/YooAsset/Runtime/AssetSystem/Handles/OperationHandleBase.cs +++ b/Assets/YooAsset/Runtime/AssetSystem/Handles/OperationHandleBase.cs @@ -14,6 +14,15 @@ namespace YooAsset } internal abstract void InvokeCallback(); + + /// + /// 获取资源信息 + /// + public AssetInfo GetAssetInfo() + { + return _assetInfo; + } + /// /// 当前状态 ///