GetScenesForBuild()
Obtains the list of scenes used when building with the build profile.
읽는 시간 1분최근 업데이트: 한 달 전
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.