Class ContentCatalogData | Addressables | 1.13.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class ContentCatalogData

    Container for ContentCatalogEntries.

    Inheritance
    Object
    ContentCatalogData
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    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

    InternalIds

    Internal Content Catalog Entry IDs for Addressable Assets.

    Declaration
    public string[] InternalIds { get; }
    Property Value
    Type Description
    String[]

    ProviderId

    Declaration
    public string ProviderId { get; }
    Property Value
    Type Description
    String

    ProviderIds

    The IDs for the Resource Providers.

    Declaration
    public string[] ProviderIds { get; }
    Property Value
    Type Description
    String[]

    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; set; }
    Property Value
    Type Description
    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
    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