Class ContentCatalogData
Container for ContentCatalogEntries.
Inherited Members
Namespace: UnityEngine.AddressableAssets.ResourceLocators
Assembly: Unity.Addressables.dll
Syntax
[Serializable]
public class ContentCatalogData
Constructors
Name | Description |
---|---|
ContentCatalogData() | Create a new ContentCatalogData object without any data. |
ContentCatalogData(IList<ContentCatalogDataEntry>, string) | Creates a new ContentCatalogData object with the specified locator id. |
ContentCatalogData(string) | Creates a new ContentCatalogData object with the specified locator id. |
Fields
Name | Description |
---|---|
LocalHash | Stores the local catalog hash |
Properties
Name | Description |
---|---|
BuildResultHash | Stores the hash for the build result |
InstanceProviderData | Data for the Addressables.ResourceManager.InstanceProvider initialization; |
ProviderId | Stores the id of the data provider. |
ResourceProviderData | The list of resource provider data. Each entry will add an IResourceProvider to the Addressables.ResourceManager.ResourceProviders list. |
SceneProviderData | Data for the Addressables.ResourceManager.InstanceProvider initialization; |
Methods
Name | Description |
---|---|
SerializeToByteArray() | Construct catalog data with entries. |
SetData(IList<ContentCatalogDataEntry>) |