Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetScenesForBuild()

Obtains the list of scenes used when building with the build profile.
Read time 1 minuteLast updated 12 days 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