GetScenesForBuild()
Obtains the list of scenes used when building with the build profile.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Build.Profile
- Assembly: UnityEditor.CoreModule
public EditorBuildSettingsScene[] GetScenesForBuild()
Returns
Type | Description |
|---|---|
| EditorBuildSettingsScene[] | The list of scenes used when building with the build profile. If the build profile is overriding the global scenes, returns the scenes specified in the build profile. Otherwise, returns the global scenes. |
Remarks
Additional Resources: BuildProfile.overrideGlobalScenes, BuildProfile.scenes, EditorBuildSettings.globalScenes.