Represents entries in the Scenes list, as displayed in the Build Settings window. This class contains the Scene path of a Scene and an enabled flag that indicates whether the Scene is enabled in the Build Settings window or not.
You can use this class in combination with EditorBuildSettings.scenes to populate the list of Scenes included in the build via script. This is useful when you create custom editor scripts to automate your build pipeline.
有关示例脚本,请参阅 EditorBuildSettings.scenes。