Public Member Functions | List of all members
ILoadBundle Class Reference

Detailed Description

Load a bundle and return it directly.

These are not intended to be allocated outside BundleManager.

Inheritance diagram for ILoadBundle:

Public Member Functions

override void  Process (BundleManager manager, AssetBundle bundle, string error)
override bool  IsDone ()
AssetBundle  Get ()

Additional Inherited Members

- Public Attributes inherited from IOperation
string  Error
- Protected Member Functions inherited from IOperation
void  StartLoad ()
void  DoneLoad ()
- Properties inherited from IOperation
override bool  keepWaiting [get]
static int  activeCount [get]

Member Function Documentation

◆ Get()

AssetBundle Get ( )

Only valid after IsDone()

◆ IsDone()

override bool IsDone ( )

Determines whether this instance is done.

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

Implements IOperation.

◆ Process()

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

Handle the result of a download.

You will get a bundle or error, not both

Implements IOperation.