Method LoadContentCatalog
LoadContentCatalog(string, string, string, bool)
Loads the content catalog data.
Declaration
public static void LoadContentCatalog(string remoteUrlRoot, string localCachePath, string initialContentSet, bool allowOverrideArgs = false)
Parameters
Type | Name | Description |
---|---|---|
string | remoteUrlRoot | The remote URL root for the content. Set null or leave empty, to load the catalog from the local StreamingAssets path. |
string | localCachePath | Optional path for the local cache. Set null or leave empty to create a folder named 'ContentCache' in the device's Application.persistentDataPath. |
string | initialContentSet | Initial content set to download. 'all' is generally used to denote the entire content set. |
bool | allowOverrideArgs | Set to true, to use application command line arguments to override the passed in values. |
Remarks
By default, this loads the catalog from the StreamingAssets folder. However, if you've set the 'ENABLE_CONTENT_DELIVERY' define, this initiates the content delivery system and updates the content before loading the catalog.