GetScenesForBuild()
Obtains the list of scenes used when building with the build profile.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.Build.Profile
- Assembly: UnityEditor
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.