Interface ISchemaBuilder
Interface for schema builders that process specific AddressableAssetGroupSchema types during a build. Implementations handle schema-specific build logic such as AssetBundle creation or Content Directory generation.
Namespace: UnityEditor.AddressableAssets.Build
Assembly: Unity.Addressables.Editor.dll
Syntax
public interface ISchemaBuilder
Properties
| Name | Description |
|---|---|
| Name | The name of the schema builder, used for GUI. |
Methods
| Name | Description |
|---|---|
| Build(AddressableAssetsBuildContext, AddressablesPlayerBuildResult) | Build data for the schema. |
| CanBuildSchema(AddressableAssetGroupSchema) | Determines whether this schema builder can process the given schema. |
| GenerateCatalogLocations(AddressableAssetsBuildContext, AddressablesPlayerBuildResult) | Generate catalog locations for the schema. Returns a dictionary mapping catalog id to the list of ContentCatalogDataEntry locations that belong to that catalog. Implementations must not write any catalog file; the build script (BuildScriptSchemaDriven) merges entries from all builders by catalog id and writes a single catalog file per id. |
| GenerateContentUpdate(AddressableAssetsBuildContext, AddressablesPlayerBuildResult) | Handle content update logic for the schema. |
| GenerateTypeStrippingInfo(AddressableAssetsBuildContext, ContentCatalogData) | Generate type stripping information for the player build. |
| Init(AddressableAssetsBuildContext, AddressablesDataBuilderInput, BuildContext, IDataBuilder) | Initialize the schema builder. |
| ProcessGroupSchema(AddressableAssetsBuildContext, AddressableAssetGroupSchema) | Validates the schema instance for a group and collects information on how to build data. |