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()
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. |