if i have 100 levels . should i have 100 congratulation scenes ?

hi
i am making on game now
it is simple game
so i have about 50 levels
but after every level
i have a congratulation scene
to say
level completed
like that
then it is loading the next level
so if i have 50 levels
i have to have 50 congratulation scene ?
or there is another way ?

?

Just because you can doesn’t mean you should.

Why won’t you show a texture on the screen when the level is completed, and then show a GUI button to load the next level?

Maybe try this?

bool isLevelCompleted = false;

if(isLevelCompleted)
{
GUI.DrawTexutre… // show a texture on the screen “Level Completed”
GUI.Button // a button in order to load the next level
}

ok how to tell the button to go to another level every time ?
Example : after finish level 1 how to tell him to load level 2
after finish level 5 how to tell him to load level 6
it is the same button !

uuh I think you just need to make one congratulations scene and load it from the levels once the player wins.

Make the button do something along the lines of
LoadScene(CurrentLevel++)
So it will take the current level and load the next one rather than hardcodingthe button