Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


BuildProfile

Provides a set of configuration settings you can use to build your application on a particular platform.
Read time 4 minutesLast updated 11 days ago

Definition

[ExcludeFromObjectFactory][HelpURL("build-profiles-reference")]public sealed class BuildProfile : ScriptableObject

Remarks

Additional Resources: BuildPlayerWithProfileOptions.

Properties

Property

Description

overrideGlobalScenesOverrides the global scene list.
scenesThe list of scenes specified in the build profile.
scriptingDefinesLists the user-specified script compilation defines in the build profile.

Methods

Method

Description

GetScenesForBuildObtains the list of scenes used when building with the build profile.

Static Methods

Method

Description

GetActiveBuildProfileGets the active build profile.
SetActiveBuildProfileSets the active build profile.

Inheritance

Inherited Members

Operators

Operator

Description

operator ==Compares two object references to see if they refer to the same object.
boolDetermines whether the object exists.
operator !=Compares if two objects refer to a different object.