Public Member Functions | Public Attributes | Protected Member Functions | Properties | List of all members
AssetBundleLoadOperation Class Referenceabstract

Asset bundle load operation. More...

Inheritance diagram for AssetBundleLoadOperation:
AssetBundleGetVersionOperation AssetBundleLoadAssetOperation AssetBundleLoadBundleOperation AssetBundleLoadLevelOperation AssetBundlePreloadSimulateOperation AssetBundleLoadAssetOperationFullAsync AssetBundleLoadAssetOperationFullSync AssetBundleLoadBundleSimulateOperation

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...
 

Detailed Description

Can use this object in a Coroutine yield. i.e. yield return StartCoroutine(operation); or directly via yield return operation;

Member Function Documentation

◆ IsDone()

abstract bool IsDone ( )
pure virtual

◆ Process()

abstract void Process ( BundleManager  manager,
AssetBundle  bundle,
string  error 
)
pure virtual

Member Data Documentation

◆ Error

string Error

Attempts are made to make this human-readable. Up to caller to log and/or display to user.

Property Documentation

◆ activeCount

int activeCount
staticget