Method SetComponent
SetComponent(Type, IBuildComponent)
Set the value of a component type on this context. NOTE: The build configuration asset is not modified.
Declaration
public void SetComponent(Type type, IBuildComponent value)
Parameters
Type | Name | Description |
---|---|---|
Type | type | Type of the component. |
IBuild |
value | Value of the component to set. |
SetComponent<T>(T)
Set the value of a component type on this context. NOTE: The build configuration asset is not modified.
Declaration
public void SetComponent<T>(T value) where T : IBuildComponent
Parameters
Type | Name | Description |
---|---|---|
T | value | Value of the component to set. |
Type Parameters
Name | Description |
---|---|
T | Type of the component. |
SetComponent(Type)
Set the value of a component type on this context using an instance created using TypeConstruction utility. NOTE: The build configuration asset is not modified.
Declaration
public void SetComponent(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type | Type of the component. |
SetComponent<T>()
Set the value of a component type on this context using an instance created using TypeConstruction utility. NOTE: The build configuration asset is not modified.
Declaration
public void SetComponent<T>() where T : IBuildComponent
Type Parameters
Name | Description |
---|---|
T | Type of the component. |