how to add scenes to [Build settings] by code ?

such as the title !! thank you!!

I don’t know if you are still searching for it, but I found your answer in here, maybe you want to check it.


You can’t add them to the build settings via code, you have to add them before compiling.

(May I ask what you’re trying to do?)