Class ContentCatalogData
Container for ContentCatalogEntries.
Namespace: UnityEngine.AddressableAssets.ResourceLocators
Syntax
public class ContentCatalogData : object
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 |
InternalIds
Internal Content Catalog Entry IDs for Addressable Assets.
Declaration
public string[] InternalIds { get; }
Property Value
| Type | Description |
|---|---|
| String[] |
ProviderId
Stores the id of the data provider.
Declaration
public string ProviderId { get; }
Property Value
| Type | Description |
|---|---|
| String |
ProviderIds
The IDs for the Resource Providers.
Declaration
public string[] ProviderIds { get; }
Property Value
| Type | Description |
|---|---|
| String[] |
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; set; }
Property Value
| Type | Description |
|---|---|
| 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 |
|---|---|---|
| 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. |