Documentation

Unity Engine

Unity Engine

GetScenesForBuild()

Obtains the list of scenes used when building with the build profile.
Read time 1 minuteLast updated a month ago

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