docs.unity3d.com
    目次を表示する/隠す

    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.

    CreateCatalogEntries(List<ContentCatalogDataEntry>, Boolean, String, IEnumerable<Object>, Object, Dictionary<GUID, AssetLoadInfo>, HashSet<Type>, Boolean, Boolean, Boolean, 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.

    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.

    Dictionary<UnityEditor.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.

    Boolean includeAddress

    Flag indicating if address locations should be included

    Boolean includeGUID

    Flag indicating if guid locations should be included

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

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)