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

Additional commands that the client will need More...

Inheritance diagram for IBundleDirectoryLoader:
PackedManifest.Loader UnityManifestBundleDirectory

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...
 

Properties

IBundleDirectory  ActiveDirectory [get]
  Get the current directory More...
 

Detailed Description

Member Function Documentation

◆ Initialize()

AssetBundleLoadOperation Initialize ( BundleManager  manager,
string  absolutePath,
int  version,
string  baseUrl 
)

Can be updated during application run for a version change.

Parameters
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 UnityManifestBundleDirectory, and PackedManifest.Loader.

Property Documentation

◆ ActiveDirectory

IBundleDirectory ActiveDirectory
get

Only valid after Initialize completes without error.