Class ContentCatalogData | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class ContentCatalogData

    Container for ContentCatalogEntries.

    Inheritance
    System.Object
    ContentCatalogData
    Namespace: UnityEngine.AddressableAssets.ResourceLocators
    Syntax
    [Serializable]
    public class ContentCatalogData

    Constructors

    ContentCatalogData()

    Create a new ContentCatalogData object without any data.

    Declaration
    public ContentCatalogData()

    Properties

    InstanceProviderData

    Data for the Addressables.ResourceManager.InstanceProvider initialization;

    Declaration
    public ObjectInitializationData InstanceProviderData { get; set; }
    Property Value
    Type Description
    ObjectInitializationData

    ResourceProviderData

    The list of resource provider data. Each entry will add an IResourceProvider to the Addressables.ResourceManager.ResourceProviders list.

    Declaration
    public List<ObjectInitializationData> ResourceProviderData { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<ObjectInitializationData>

    SceneProviderData

    Data for the Addressables.ResourceManager.InstanceProvider initialization;

    Declaration
    public ObjectInitializationData SceneProviderData { get; set; }
    Property Value
    Type Description
    ObjectInitializationData

    Methods

    CreateLocator(String)

    Create IResourceLocator object

    Declaration
    public ResourceLocationMap CreateLocator(string providerSuffix = null)
    Parameters
    Type Name Description
    System.String providerSuffix

    If specified, this value will be appeneded to all provider ids. This is used when loading additional catalogs that need to have unique providers.

    Returns
    Type Description
    ResourceLocationMap

    ResourceLocationMap, which implements the IResourceLocator interface.

    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