Asset bundle load operation. More...
Public Member Functions | |
abstract bool | IsDone () |
Determines whether this instance is done. More... |
|
abstract void | Process (BundleManager manager, AssetBundle bundle, string error) |
Handle the result of a download. More... |
|
Public Attributes | |
string | Error |
Only valid after IsDone; always non-null on error. More... |
|
Protected Member Functions | |
void | StartLoad () |
void | DoneLoad () |
Properties | |
override bool |
keepWaiting [get]
|
static int |
activeCount [get]
|
When active, not safe to UnloadUnusedAssets More... |
|
Can use this object in a Coroutine yield. i.e. yield return StartCoroutine(operation); or directly via yield return operation;
|
pure virtual |
Caller may use this as an alternate API instead of as a Coroutine
Implemented in AssetBundleGetVersionOperation, AssetBundleLoadBundleSimulateOperation, AssetBundleLoadBundleOperation, AssetBundlePreloadSimulateOperation, AssetBundleLoadAssetOperationFullAsync, AssetBundleLoadAssetOperationFullSync, and AssetBundleLoadLevelOperation.
|
pure virtual |
You will get a bundle or error, not both
Implemented in AssetBundleGetVersionOperation, AssetBundleLoadBundleSimulateOperation, AssetBundleLoadBundleOperation, AssetBundlePreloadSimulateOperation, AssetBundleLoadAssetOperationFullAsync, AssetBundleLoadAssetOperationFullSync, and AssetBundleLoadLevelOperation.
string Error |
Attempts are made to make this human-readable. Up to caller to log and/or display to user.
|
staticget |