Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Properties | List of all members
UnityManifest.Loader Class Reference

Detailed Description

A Loader for UnityManifest.

Inheritance diagram for UnityManifest.Loader:

Public Member Functions

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

Public Attributes

Settings  Settings = new Settings()

Protected Member Functions

IEnumerator  LoadManifest (BundleManager manager, string absolutePath, int version, string baseUrl, IGetVersion response)

Protected Attributes

string  baseDownloadingURL


string[]  ActiveVariants [get, set]
IBundleManifest  ActiveDirectory [get]
- Properties inherited from IManifestLoader
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).

Implements IManifestLoader.

Member Data Documentation

◆ Settings

Settings to apply to this loader and any manifests it loads.

Values are expected to be constant after the first Begin().

Property Documentation

◆ ActiveDirectory

IBundleManifest ActiveDirectory

Get the current directory

Only valid after Initialize completes without error.

◆ ActiveVariants

string [] ActiveVariants

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.