Public Member Functions | Properties | List of all members
IManifestLoader Interface Reference

Detailed Description

Standard interface for loading a concrete IBundleManifest.

Using this the application can make a chain of loaders as long as each layer implements this interface. Augmented by the LoaderExtensions.

Inheritance diagram for IManifestLoader:
PackedManifest.Loader UnityManifest.Loader

Public Member Functions

IOperation  Begin (BundleManager manager, string absolutePath, int version, string baseUrl)


IBundleManifest  ActiveDirectory [get]

Member Function Documentation

◆ Begin()

IOperation Begin ( 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.

manager Target manager
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).

Implemented in UnityManifest.Loader, and PackedManifest.Loader.

Property Documentation

◆ ActiveDirectory

IBundleManifest ActiveDirectory

Get the current directory

Only valid after Initialize completes without error.