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.
Inherited Members
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
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. |