Class ContentDeliveryGlobalState
Contains methods for the content update process.
Namespace: Unity.Entities.Content
Assembly: Unity.Entities.dll
Syntax
public static class ContentDeliveryGlobalState
Fields
Name | Description |
---|---|
LogFunc | Action to log content update progress. |
PathRemapFuncWithFileCheck | Functor used to remap content into the local cache. The first parameter is the original path, usually relative to the StreamingAssets folder. The boolean parameter indicates if the remapped path should be checked before using it. The return value should be the remapped path and it should exist on device if the bool parameter is true. If the bool parameter is false, this can return a remapped path that does not exist yet. |
kCatalogLocations | The name of the content set for remote catalogs. |
kLocalCatalogsContentSet | The name of the content set for local catalogs. |
Properties
Name | Description |
---|---|
CurrentContentUpdateState | The current state of the content update process. |
DeliveryService | Gets the delivery service used to download remote content. This can be used to initiate the download of additional files or content sets. If initialization fails to download remote content, this will be null; |
PathRemapFunc | Functor used to remap content to cached path. |
Methods
Name | Description |
---|---|
Cleanup() | Release resources from the content delivery initialization process and delivery service. |
Initialize(string, string, string, Action<ContentUpdateState>) | Initialize the content delivery system. |
RegisterForContentUpdateCompletion(Action<ContentUpdateState>) | Register for content update state changes. |