Class BaseCatalogBuilder
Base class for catalog builders that generate content catalog data for Addressables builds. Provides common functionality for creating catalog files in different formats.
Implements
Inherited Members
Namespace: UnityEditor.AddressableAssets.Build.CatalogBuilders
Assembly: Unity.Addressables.Editor.dll
Syntax
public abstract class BaseCatalogBuilder : ICatalogBuilder
Properties
| Name | Description |
|---|---|
| CatalogExtension | Gets the file extension used for catalog files created by this builder (e.g., "json" or "bin"). |
Methods
| Name | Description |
|---|---|
| AddExtensionToCatalogFilename(string) | Appends the catalog file extension to the given filename if not already present. |
| GenerateCatalog(IBuildLogger, CatalogPathConfig, string, IList<ContentCatalogDataEntry>, List<ResourceLocationData>, HashSet<Type>, FileRegistry, string, bool, int, CatalogBundleConfig) | Generates a content catalog from the provided build data. |
| GetBaseCatalogFilename(string) | Gets the base filename for the catalog based on the locator ID. Returns "catalog" for the default catalog address, otherwise returns the locator ID. |