BuildProfile
Provides a set of configuration settings you can use to build your application on a particular platform.
읽는 시간 4분최근 업데이트: 5일 전
Definition
- Type: Class
- Namespace: UnityEditor.Build.Profile
- Assembly: UnityEditor
- Inherits from: ScriptableObject
[HelpURL("build-profiles-reference")][ExcludeFromObjectFactory]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. |