Class BuildParameters
Basic implementation of IBuildParameters. Stores the set of parameters passed into the Scriptable Build Pipeline. IBuildParameters
Inherited Members
Namespace: UnityEditor.Build.Pipeline
Assembly: solution.dll
Syntax
[Serializable]
public class BuildParameters : IBuildParameters, IContextObject
Constructors
| Name | Description |
|---|---|
| BuildParameters(BuildTarget, BuildTargetGroup, string) | Default constructor, requires the target, group and output parameters at minimum for a successful build. |
Properties
| Name | Description |
|---|---|
| BundleCompression | Default compression option to use for all built content files |
| CacheServerHost | Enables and specifies the cache server to use. |
| CacheServerPort | The port for the cache server to use |
| ContentBuildFlags | The set of build flags to use for building content. |
| Group | Target build platform group. BuildTargetGroup |
| OutputFolder | Final output location where built content will be written. |
| ScriptInfo | Scripting type information to use when building content. Setting this to a previously cached value will prevent the default script compiling step. |
| ScriptOptions | Script compilation options to use for the script compiling step. |
| ScriptOutputFolder | Location to be used for compiled scripts generated during the build. |
| Target | Target build platform. BuildTarget |
| TempOutputFolder | Temporary location to be used for artifacts generated during the build but are not part of the final output. |
| UseCache | Enables the use of the build cache if set to true. |
| WriteLinkXML | Writes out a link.xml file to the output folder to use with Unity managed code stripping. |
Methods
| Name | Description |
|---|---|
| GetCompressionForIdentifier(string) | Constructs and returns the BuildCompression struct to use for the specified identifier. |
| GetContentBuildSettings() | Constructs and returns the BuildSettings struct to use for content building. |
| GetOutputFilePathForIdentifier(string) | Returns the output folder to use for the specified identifier. |
| GetScriptCompilationSettings() | Constructs and returns the ScriptCompilationSettings struct to use for script compiling. |