Class BuildPipeline
Stores BuildStep (or BuildPipeline) and RunStep instructions to be executed when building or running this pipeline.
Inheritance
BuildPipeline
Inherited Members
Namespace: Unity.Build
Assembly: solution.dll
Syntax
[HideInInspector]
public sealed class BuildPipeline : ScriptableObjectPropertyContainer<BuildPipeline>, ISerializationCallbackReceiver, IBuildStep
Fields
Name | Description |
---|---|
AssetExtension | File extension for BuildPipeline assets. |
BuildSteps | The list of BuildStep (or BuildPipeline) to be executed when calling Build(BuildConfiguration, BuildProgress, Action<BuildContext>). |
RunStep | The RunStep to be executed when calling Run(BuildConfiguration). |
Methods
Name | Description |
---|---|
Build(BuildConfiguration, BuildProgress, Action<BuildContext>) | Build this BuildPipeline. |
CanBuild(BuildConfiguration, out string) | Determine if this BuildPipeline can build. |
CanRun(BuildConfiguration, out string) | Determine if this BuildPipeline can run. |
Reset() | Reset this asset in preparation for deserialization. |
Run(BuildConfiguration) | Run this BuildPipeline. This will attempt to run the build target produced from building this BuildPipeline. |
Sanitize() | Sanitize this asset after deserialization. |