Callers can expect all operations to have these basic services.
Can use this object in a Coroutine yield. i.e. yield return StartCoroutine(operation);
or directly via yield return operation;
These are not intended to be allocated outside BundleManager.
Public Member Functions | |
abstract bool | IsDone () |
abstract void | Process (BundleManager manager, AssetBundle bundle, string error) |
Public Attributes | |
string | Error |
Protected Member Functions | |
void | StartLoad () |
void | DoneLoad () |
Properties | |
override bool |
keepWaiting [get]
|
static int |
activeCount [get]
|
|
pure virtual |
Determines whether this instance is done.
Caller may use this as an alternate API instead of as a Coroutine
Implemented in IGetVersion, ILoadBundle, and ILoadLevel.
|
pure virtual |
Handle the result of a download.
You will get a bundle or error, not both
Implemented in IGetVersion, ILoadBundle, and ILoadLevel.
string Error |
Only valid after IsDone; always non-null on error.
Attempts are made to make this human-readable. Up to caller to log and/or display to user.
|
staticget |
When active, not safe to UnloadUnusedAssets