Class CatalogItemConfig<TRuntimeItem>
Base configurator of a CatalogItem instance.
Inherited Members
Namespace: UnityEngine.GameFoundation.Configs
Syntax
public abstract class CatalogItemConfig<TRuntimeItem> : CatalogItemConfig where TRuntimeItem : CatalogItem
Type Parameters
Name | Description |
---|---|
TRuntimeItem | The |
Methods
CompileGeneric()
This method is called by UnityEngine.GameFoundation.Configs.CatalogItemConfig.Compile to checks the specific configuration of the inherited types.
Declaration
protected override sealed CatalogItem CompileGeneric()
Returns
Type | Description |
---|---|
CatalogItem |
Overrides
CompileItem()
Checks the configuration and builds the
TRuntimeItem
instance.
Declaration
protected abstract TRuntimeItem CompileItem()
Returns
Type | Description |
---|---|
TRuntimeItem |
LinkGeneric(CatalogBuilder)
This method is called by UnityEngine.GameFoundation.Configs.CatalogItemConfig.Compile to checks the links of the inherited types.
Declaration
protected override sealed void LinkGeneric(CatalogBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
CatalogBuilder | builder |
Overrides
LinkItem(CatalogBuilder)
Resolves the possible referenes the
TRuntimeItem
instance may contain.
Declaration
protected virtual void LinkItem(CatalogBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
CatalogBuilder | builder | The builder where the references can be found |