docs.unity.cn
    Show / Hide Table of Contents

    Method CreateCatalogEntries

    CreateCatalogEntries(List<ContentCatalogDataEntry>, Boolean, 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.

    Boolean 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.

    Back to top Copyright © 2021 Unity Technologies
    Generated by DocFX
    on Thursday, December 2, 2021
    Terms of use