docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ContentDeliveryGlobalState

    Contains methods for the content update process.

    Inheritance
    object
    ContentDeliveryGlobalState
    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.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)