My character collects “strawberries”. My problem is that i want to load next level ( Application.LoadLevel (“Level2”); ) when it collects 5 “strawberries”.
I tried some ways but because i’m new i can’t figure out the solution.
I’ve put the Application.LoadLevel (“Level2”); where the green comment is, but it didn’t work.
Thank you in advance.
Have you added your scenes to your build settings?
go File > Build Settings and there you can click the “add current” from the different scenes of your game, then Application.LoadLevel() should work
