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
    Object
    ResourceProviderBase
    ContentCatalogProvider
    Inherited Members
    ResourceProviderBase.m_ProviderId
    ResourceProviderBase.m_BehaviourFlags
    ResourceProviderBase.ProviderId
    ResourceProviderBase.Initialize(String, String)
    ResourceProviderBase.CanProvide(Type, IResourceLocation)
    ResourceProviderBase.ToString()
    ResourceProviderBase.GetDefaultType(IResourceLocation)
    ResourceProviderBase.InitializeAsync(ResourceManager, String, String)
    ResourceProviderBase.IResourceProvider.BehaviourFlags
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.AddressableAssets.ResourceProviders
    Syntax
    public class ContentCatalogProvider : ResourceProviderBase, IResourceProvider, IInitializableObject

    Constructors

    ContentCatalogProvider(ResourceManager)

    Constructor for this provider.

    Declaration
    public ContentCatalogProvider(ResourceManager resourceManagerInstance)
    Parameters
    Type Name Description
    ResourceManager resourceManagerInstance

    The resource manager to use.

    Fields

    DisableCatalogUpdateOnStart

    Use to indicate if the updating the catalog on startup should be disabled.

    Declaration
    public bool DisableCatalogUpdateOnStart
    Field Value
    Type Description
    Boolean

    IsLocalCatalogInBundle

    Use to indicate if the local catalog is in a bundle.

    Declaration
    public bool IsLocalCatalogInBundle
    Field Value
    Type Description
    Boolean

    Methods

    Provide(ProvideHandle)

    Provide the object specified in the provideHandle.

    Declaration
    public override void Provide(ProvideHandle providerInterface)
    Parameters
    Type Name Description
    ProvideHandle providerInterface
    Overrides
    ResourceProviderBase.Provide(ProvideHandle)

    Release(IResourceLocation, Object)

    Release the specified object that was created from the specified location.

    Declaration
    public override void Release(IResourceLocation location, object obj)
    Parameters
    Type Name Description
    IResourceLocation location

    The location of the object

    Object obj

    The object to release.

    Overrides
    ResourceProviderBase.Release(IResourceLocation, Object)
    Back to top
    Terms of use
    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