namespace YooAsset
{
public abstract class GameAsyncOperation : AsyncOperationBase
{
internal override void Start()
{
OnStart();
}
internal override void Update()
{
OnUpdate();
}
///
/// 异步操作开始
///
protected abstract void OnStart();
///
/// 异步操作更新
///
protected abstract void OnUpdate();
///
/// 异步操作系统是否繁忙
///
protected bool IsBusy()
{
return OperationSystem.IsBusy;
}
}
}