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