docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CreateCatalogEntries

    CreateCatalogEntries(List<ContentCatalogDataEntry>, bool, string, IEnumerable<object>, object, HashSet<Type>)

    Create all entries for this addressable asset. This will expand subassets (Sprites, Meshes, etc) and also different representations.

    Declaration
    public void CreateCatalogEntries(List<ContentCatalogDataEntry> entries, bool isBundled, string providerType, IEnumerable<object> dependencies, object extraData, HashSet<Type> providerTypes)
    Parameters
    Type Name Description
    List<ContentCatalogDataEntry> entries

    The list of entries to fill in.

    bool isBundled

    Whether the entry is bundles or not. This will affect the load path.

    string providerType

    The provider type for the main entry.

    IEnumerable<object> dependencies

    Keys of dependencies

    object extraData

    Extra data to append to catalog entries.

    HashSet<Type> providerTypes

    Any unknown provider types are added to this set in order to ensure they are not stripped.

    CreateCatalogEntries(List<ContentCatalogDataEntry>, bool, string, IEnumerable<object>, object, Dictionary<GUID, AssetLoadInfo>, HashSet<Type>, bool, bool, bool, HashSet<string>)

    Create all entries for this addressable asset. This will expand subassets (Sprites, Meshes, etc) and also different representations.

    Declaration
    public void CreateCatalogEntries(List<ContentCatalogDataEntry> entries, bool isBundled, string providerType, IEnumerable<object> dependencies, object extraData, Dictionary<GUID, AssetLoadInfo> depInfo, HashSet<Type> providerTypes, bool includeAddress, bool includeGUID, bool includeLabels, HashSet<string> assetsInBundle)
    Parameters
    Type Name Description
    List<ContentCatalogDataEntry> entries

    The list of entries to fill in.

    bool isBundled

    Whether the entry is bundles or not. This will affect the load path.

    string providerType

    The provider type for the main entry.

    IEnumerable<object> dependencies

    Keys of dependencies

    object extraData

    Extra data to append to catalog entries.

    Dictionary<GUID, AssetLoadInfo> depInfo

    Map of guids to AssetLoadInfo for object identifiers in an Asset. If null, ContentBuildInterface gathers object ids automatically.

    HashSet<Type> providerTypes

    Any unknown provider types are added to this set in order to ensure they are not stripped.

    bool includeAddress

    Flag indicating if address locations should be included

    bool includeGUID

    Flag indicating if guid locations should be included

    bool includeLabels

    Flag indicating if label locations should be included

    HashSet<string> assetsInBundle

    The internal ids of the asset, typically shortened versions of the asset's GUID.

    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)