Public Member Functions | |
IOperation | Initialize (BundleManager manager, string absolutePath, int version, string baseUrl) |
Protected Member Functions | |
IEnumerator | LoadManifest (BundleManager manager, string absolutePath, int version, string baseUrl, IGetVersion response) |
Properties | |
string[] |
ActiveVariants [get, set]
|
IBundleManifest |
ActiveDirectory [get]
|
Properties inherited from IManifestLoader | |
IBundleManifest |
ActiveDirectory [get]
|
IOperation Initialize | ( | BundleManager | manager, |
string | absolutePath, | ||
int | version, | ||
string | baseUrl | ||
) |
Sets the source URL to the manifest and where all remote content is expected to be found.
Can be updated during application run for a version change.
version | If cached locally and version number matches, won't hit network |
absolutePath | manifest path. Not necessarily from baseUrl |
baseUrl | prepended to all bundle requests. Ends with slash. Typically BundleManager.GetUrlPath(absolutePath). |
Implements IManifestLoader.
|
get |
Get the current directory
Only valid after Initialize completes without error.
|
getset |
The list of bundle variants we should try to load
In highest to lowest priority order. Ignored for any bundle without a variant. Changes only affect bundles loaded in the future, not already loaded ones. Setting to null is an optimization to avoid needing to lookup variants.