List of scenes in a build.

I was wondering if there is some way to access a list of scenes there are in a build.

We’re doing a lot of level design and prototyping and want to make a generic level selector that detects however many scenes there are in a build and then creates a scrolling list of buttons with the scene names that’s automatically

You can use EditorBuildSettings.scenes.