Class ContentCatalogData
Container for ContentCatalogEntries.
Inheritance
System.Object
ContentCatalogData
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 |
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; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.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 |
---|---|---|
System.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. |