docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ContentUpdateScript

    Contains methods used for the content update workflow.

    Inheritance
    object
    ContentUpdateScript
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEditor.AddressableAssets.Build
    Assembly: solution.dll
    Syntax
    public static class ContentUpdateScript

    Fields

    Name Description
    GroupFilterFunc

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

    Properties

    Name Description
    PreviousContentStateFileCachePath

    If the previous content state file location is a remote location, this path is where the file is downloaded to as part of a content update build. In the event of a fresh build where the previous state file build path is remote, this is the location the file is built to.

    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(bool)

    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.

    In This Article
    Back to top
    Copyright © 2024 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)