跳到主要内容
版本:1.5.x

Class OperationHandleBase

Assembly: YooAsset.dll
View Source
Declaration
public abstract class OperationHandleBase : IEnumerator

Properties

Status

当前状态

View Source
Declaration
public EOperationStatus Status { get; }

LastError

最近的错误信息

View Source
Declaration
public string LastError { get; }

Progress

加载进度

View Source
Declaration
public float Progress { get; }

IsDone

是否加载完毕

View Source
Declaration
public bool IsDone { get; }

IsValid

句柄是否有效

View Source
Declaration
public bool IsValid { get; }

Task

异步操作任务

View Source
Declaration
public Task Task { get; }

Methods

GetAssetInfo()

获取资源信息

View Source
Declaration
public AssetInfo GetAssetInfo()
Returns

YooAsset.AssetInfo

GetDownloadReport()

获取下载报告

View Source
Declaration
public DownloadReport GetDownloadReport()
Returns

YooAsset.DownloadReport

Implements

  • System.Collections.IEnumerator