Public Member Functions | Protected Attributes | List of all members
ILoadLevel Class Reference

Detailed Description

Load a level from a bundle.

These are not intended to be allocated outside BundleManager.

Inheritance diagram for ILoadLevel:
IOperation

Public Member Functions

  ILoadLevel (string levelName, bool isAdditive)
 
override void  Process (BundleManager manager, AssetBundle bundle, string error)
 
override bool  IsDone ()
 

Protected Attributes

string  m_LevelName
 
bool  m_IsAdditive
 
AsyncOperation  m_Request
 

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

◆ IsDone()

override bool IsDone ( )
inlinevirtual

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 
)
inlinevirtual

Handle the result of a download.

You will get a bundle or error, not both

Implements IOperation.