Public Member Functions | Protected Attributes | List of all members
AssetBundleLoadAssetOperationFullAsync Class Reference
Inheritance diagram for AssetBundleLoadAssetOperationFullAsync:
AssetBundleLoadAssetOperation AssetBundleLoadOperation

Public Member Functions

  AssetBundleLoadAssetOperationFullAsync (string assetName, System.Type type)
override T  GetAsset< T > ()
override void  Process (BundleManager manager, AssetBundle bundle, string error)
  Handle the result of a download. More...
override bool  IsDone ()
  Determines whether this instance is done. More...

Protected Attributes

AssetBundle  m_Bundle
string  m_AssetName
System.Type  m_Type
AssetBundleRequest  m_Request = null
BundleManager  m_Manager = null

Additional Inherited Members

- Static Public Member Functions inherited from AssetBundleLoadAssetOperation
static bool  IsMissingAssetError (string error)
- Public Attributes inherited from AssetBundleLoadOperation
string  Error
  Only valid after IsDone; always non-null on error. More...
- Protected Member Functions inherited from AssetBundleLoadOperation
void  StartLoad ()
void  DoneLoad ()
- Static Protected Attributes inherited from AssetBundleLoadAssetOperation
const string  EditorMissingAssetText = "There is no asset with name"
const string  MissingAssetText = "Asset not found with name"
- Properties inherited from AssetBundleLoadAssetOperation
bool  IsMissingAsset [get]
- Properties inherited from AssetBundleLoadOperation
override bool  keepWaiting [get]
static int  activeCount [get]
  When active, not safe to UnloadUnusedAssets More...

Member Function Documentation

◆ IsDone()

override bool IsDone ( )

Caller may use this as an alternate API instead of as a Coroutine

Implements AssetBundleLoadOperation.

◆ Process()

override void Process ( BundleManager  manager,
AssetBundle  bundle,
string  error 

You will get a bundle or error, not both

Implements AssetBundleLoadOperation.