docs.unity.cn
    Show / Hide Table of Contents

    Struct ContentUpdateScript.ContentUpdateContext

    Contains build information used for updating assets.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    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 © 2021 Unity Technologies
    Generated by DocFX
    on 04 November 2021
    Terms of use