文档

Unity Engine

Unity Engine

GetScenesForBuild()

Obtains the list of scenes used when building with the build profile.
阅读时间1 分钟最后更新于 1 个月前

Definition

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