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

Class GameAsyncOperation

Assembly: YooAsset.dll
Declaration
public abstract class GameAsyncOperation : AsyncOperationBase, IEnumerator, IComparable<AsyncOperationBase>

Methods

OnStart()

异步操作开始

Declaration
protected abstract void OnStart()

OnUpdate()

异步操作更新

Declaration
protected abstract void OnUpdate()

OnAbort()

异步操作终止

Declaration
protected abstract void OnAbort()

OnWaitForAsyncComplete()

异步等待完成

Declaration
protected virtual void OnWaitForAsyncComplete()

IsBusy()

异步操作系统是否繁忙

Declaration
protected bool IsBusy()
Returns

System.Boolean

Abort()

终止异步操作

Declaration
protected void Abort()

Implements

  • System.Collections.IEnumerator
  • System.IComparable<YooAsset.AsyncOperationBase>