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

    Class ContentCatalogProvider

    Provider for content catalogs. This provider makes use of a hash file to determine if a newer version of the catalog needs to be downloaded.

    Inheritance
    System.Object
    ResourceProviderBase
    ContentCatalogProvider
    Inherited Members
    ResourceProviderBase.m_ProviderId
    ResourceProviderBase.m_BehaviourFlags
    ResourceProviderBase.ProviderId
    ResourceProviderBase.Initialize(String, String)
    ResourceProviderBase.CanProvide<TObject>(IResourceLocation)
    ResourceProviderBase.ToString()
    ResourceProviderBase.Release(IResourceLocation, Object)
    ResourceProviderBase.IResourceProvider.BehaviourFlags
    Namespace: UnityEngine.AddressableAssets.ResourceProviders
    Syntax
    public class ContentCatalogProvider : ResourceProviderBase, IResourceProvider, IInitializableObject

    Constructors

    ContentCatalogProvider()

    Declaration
    public ContentCatalogProvider()

    Methods

    Provide<TObject>(IResourceLocation, IList<Object>)

    Synchronously load the resource at the given location. An asynchronous load operation for any dependencies should be passed as an argument.

    Declaration
    public override IAsyncOperation<TObject> Provide<TObject>(IResourceLocation location, IList<object> deps)
        where TObject : class
    Parameters
    Type Name Description
    IResourceLocation location

    Location to load.

    System.Collections.Generic.IList<System.Object> deps
    Returns
    Type Description
    IAsyncOperation<TObject>

    An asynchronous operation to load the object.

    Type Parameters
    Name Description
    TObject

    Object type to be loaded and returned.

    Overrides
    ResourceProviderBase.Provide<TObject>(IResourceLocation, IList<Object>)
    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