Add process operation method.

增加开启异步操作的方法。
This commit is contained in:
hevinci
2022-05-07 18:23:00 +08:00
parent afc08d4e46
commit 42703def02
3 changed files with 38 additions and 0 deletions
@@ -0,0 +1,18 @@
namespace YooAsset
{
public class GameAsyncOperation : AsyncOperationBase
{
internal override void Start()
{
OnStart();
}
internal override void Update()
{
OnUpdate();
}
protected virtual void OnStart() { }
protected virtual void OnUpdate() { }
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: ff8a96dd005f55346986f8a98aff8c99
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: