Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

BuildPlayerOptions.scenes

public string[] scenes;

Description

The scenes to be included in the build. If empty, the currently open scene will be built. Paths are relative to the project folder (Assets/MyLevels/MyScene.unity).

Did you find this page useful? Please give it a rating: