- Home /
Question by
ManoKristos · Aug 09, 2015 at 11:07 AM ·
all
Application.LoadLevel("name") help!
I have named my scenes as "Level1", "Level2" and so on. so I have tried when the game finishes to do Application.LoadLevel("Level2"); it says "Level 'Level2' (-1) couldn't be loaded because it has not been added to the build settings. How can I add Level2(scene) and more levels in build settings? help please! Thanks,Respectfully.
Comment
Answer by FLASHDENMARK · Aug 09, 2015 at 11:15 AM
Press Control + Shift + B to open the Build Settings (Or go to File -> Build Settings)
From there just drag all your scenes from the project panel into the 'Scenes In Build' section.
Thanks a lot :D .. I knew it before ur answer 10 seconds xD
but thanks again for your help :):)
Your answer
