Public Member Functions | |
| AssetBundleLoadOperation | 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. More... |
|
Protected Member Functions | |
| IEnumerator | LoadManifest (BundleManager manager, string absolutePath, int version, string baseUrl, AssetBundleGetVersionOperation response) |
Properties | |
| string[] |
ActiveVariants [get, set]
|
| The list of bundle variants we should try to load More... |
|
| IBundleDirectory |
ActiveDirectory [get]
|
| Get the current directory More... |
|
Properties inherited from IBundleDirectoryLoader
| |
| IBundleDirectory |
ActiveDirectory [get]
|
| Get the current directory More... |
|
| AssetBundleLoadOperation Initialize | ( | BundleManager | manager, |
| string | absolutePath, | ||
| int | version, | ||
| string | baseUrl | ||
| ) |
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 IBundleDirectoryLoader.
|
get |
Only valid after Initialize completes without error.
|
getset |
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.
1.8.16