docs.unity3d.com
    Show / Hide Table of Contents

    Class ContentUpdateScript

    Contains methods used for the content update workflow.

    Inheritance
    Object
    ContentUpdateScript
    Namespace: UnityEditor.AddressableAssets.Build
    Syntax
    public static class ContentUpdateScript : object

    Fields

    Name Description
    GroupFilterFunc

    Functor to filter AddressableAssetGroups during content update. If the functor returns false, the group is excluded from the update.

    Methods

    Name Description
    BuildContentUpdate(AddressableAssetSettings, String)

    Builds player content using the player content version from a specified cache file.

    CreateContentUpdateGroup(AddressableAssetSettings, List<AddressableAssetEntry>, String)

    Create a new AddressableAssetGroup with the items and mark it as remote.

    GatherModifiedEntries(AddressableAssetSettings, String)

    Get all modified addressable asset entries in groups that have BundledAssetGroupSchema and ContentUpdateGroupSchema with static content enabled. This includes any Addressable dependencies that are affected by the modified entries.

    GatherModifiedEntriesWithDependencies(AddressableAssetSettings, String)

    Get a Dictionary of all modified values and their dependencies. Dependencies will be Addressable and part of a group with static content enabled.

    GetContentStateDataPath(Boolean)

    Gets the path of the cache data from a selected build.

    LoadContentState(String)

    Loads cache data from a specific location

    SaveContentState(List<ContentCatalogDataEntry>, String, List<AddressableAssetEntry>, IDependencyData, String, String)

    Save the content update information for a set of AddressableAssetEntry objects.

    SaveContentState(List<ContentCatalogDataEntry>, String, List<AddressableAssetEntry>, IDependencyData, String, String, List<CachedAssetState>)

    Save the content update information for a set of AddressableAssetEntry objects.

    SaveContentState(String, List<AddressableAssetEntry>, IDependencyData, String, String)

    Save the content update information for a set of AddressableAssetEntry objects.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023