Class BuildConfiguration
Can stores a set of hierarchical build components per type, which can be inherited or overridden using dependencies.
Inheritance
Implements
Inherited Members
Namespace: Unity.Build
Assembly: solution.dll
Syntax
public sealed class BuildConfiguration : HierarchicalComponentContainer<BuildConfiguration, IBuildComponent>, ISerializationCallbackReceiver
Fields
Name | Description |
---|---|
AssetExtension | File extension for build configuration assets. |
Methods
Name | Description |
---|---|
Build() | Run the build pipeline of this build configuration to build the target. |
CanBuild() | Determine if the build pipeline of this build configuration can build. |
CanRun(params RunTargetBase[]) | Determine if the build pipeline of this build configuration can run. |
Clean() | Clean the build result from building the build pipeline of this build configuration. |
GetBuildPipeline() | Retrieve the build pipeline of this build configuration. |
GetLastBuildArtifact(Type) | Get the value of the first build artifact that is assignable to type Type. |
GetLastBuildArtifact<T>() | Get the value of the first build artifact that is assignable to type |
GetLastBuildResult() | Get the last build result for this build configuration. |
GetOutputBuildDirectory() | Get the output build directory override for this build configuration. The output build directory can be overridden using a OutputBuildDirectory component. |
IsComponentUsed(Type) | Determine if component is used by the build pipeline of this build configuration. Returns false if this build configuration does not have a build pipeline. |
IsComponentUsed<T>() | Determine if component is used by the build pipeline of this build configuration. Returns false if this build configuration does not have a build pipeline. |
OnComponentConstruct(ref IBuildComponent) | |
Run(params RunTargetBase[]) | Run the resulting target from building the build pipeline of this build configuration. |