docs.unity3d.com
    Show / Hide Table of Contents

    Struct ContentUpdateScript.ContentUpdateContext

    Contains build information used for updating assets.

    Namespace: UnityEditor.AddressableAssets.Build
    Syntax
    public struct ContentUpdateContext

    Fields

    BundleToInternalBundleIdMap

    The mapping of a bundle's name to its internal bundle id.

    Declaration
    public Dictionary<string, string> BundleToInternalBundleIdMap
    Field Value
    Type Description
    Dictionary<String, String>

    ContentState

    Stores the cached build data.

    Declaration
    public AddressablesContentState ContentState
    Field Value
    Type Description
    AddressablesContentState

    GuidToPreviousAssetStateMap

    The mapping of an asset's guid to its cached asset state.

    Declaration
    public Dictionary<string, CachedAssetState> GuidToPreviousAssetStateMap
    Field Value
    Type Description
    Dictionary<String, CachedAssetState>

    IdToCatalogDataEntryMap

    The mapping of an asset's or bundle's internal id to its catalog entry.

    Declaration
    public Dictionary<string, ContentCatalogDataEntry> IdToCatalogDataEntryMap
    Field Value
    Type Description
    Dictionary<String, ContentCatalogDataEntry>

    PreviousAssetStateCarryOver

    The list of asset state information gathered from the previous build.

    Declaration
    public List<CachedAssetState> PreviousAssetStateCarryOver
    Field Value
    Type Description
    List<CachedAssetState>

    Registry

    Stores the paths of the files created during a build.

    Declaration
    public FileRegistry Registry
    Field Value
    Type Description
    FileRegistry

    WriteData

    Stores the asset bundle write information.

    Declaration
    public IBundleWriteData WriteData
    Field Value
    Type Description
    IBundleWriteData
    Back to top
    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