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
- Type: Class
- Namespace: UnityEditor.Build.Profile
- Assembly: UnityEditor
- Inherits from: ScriptableObject
[ExcludeFromObjectFactory][HelpURL("build-profiles-reference")]public sealed class BuildProfile : ScriptableObject
Remarks
Additional Resources: BuildPlayerWithProfileOptions.
Properties
Property | Description |
|---|---|
| overrideGlobalScenes | Overrides the global scene list. |
| scenes | The list of scenes specified in the build profile. |
| scriptingDefines | Lists the user-specified script compilation defines in the build profile. |
Methods
Method | Description |
|---|---|
| GetScenesForBuild | Obtains the list of scenes used when building with the build profile. |
Static Methods
Method | Description |
|---|---|
| GetActiveBuildProfile | Gets the active build profile. |
| SetActiveBuildProfile | Sets the active build profile. |
Inheritance
Operators
Operator | Description |
|---|---|
| operator == | Compares two object references to see if they refer to the same object. |
| bool | Determines whether the object exists. |
| operator != | Compares if two objects refer to a different object. |