{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Class BuildParameters | Scriptable Build Pipeline | 2.0.2
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BuildParameters

    Basic implementation of IBuildParameters. Stores the set of parameters passed into the Scriptable Build Pipeline. IBuildParameters

    Inheritance
    object
    BuildParameters
    BundleBuildParameters
    Implements
    IBuildParameters
    IContextObject
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)