Additions to IManifestLoader
Done this way so we don't have to have a baseclass to offer these utilities.
Static Public Member Functions | |
static IOperation | Initialize (this IManifestLoader loader, BundleManager manager, string absolutePath, int version) |
static IOperation | Initialize (this IManifestLoader loader, BundleManager manager, string absolutePath) |
static IEnumerator | InstallDirectory (this IManifestLoader loader, BundleManager manager, IOperation loadOp) |
|
inlinestatic |
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.
loader | Object that we're extending. |
manager | Target manager |
absolutePath | manifest path. Extracts baseUrl from this. |
|
inlinestatic |
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.
loader | Object that we're extending. |
manager | Target manager |
version | If cached locally and version number matches, won't hit network |
absolutePath | manifest path. Extracts baseUrl from this. |
|
inlinestatic |
Watch for a completed loadOp and install resulting Directory
loader | Object that we're extending. |
manager | Target manager |
loadOp | Operation we are waiting for to complete successfully before updating the manager with it. |