Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

You mean on the file in unity that name is: secondary scene, i put my own name?

On your" MainScene" there is an object called GameHandler or GameManager if you select it and watch the details panel it  says win game load scene "WinScene", lose game load scene "LoseScene", you just need to put there the name of your secondary scene. for example if you have a scene called "SecondaryScene" put that. Rember to add the scene to the build


link:  https://learn.unity.com/tutorial/fps-mod-add-a-new-level-to-your-game-flow?uv=2019.3&projectId=5d9c91a4edbc2a03209169ab#5dc2e3eaedbc2a0021fa64d7

Thank You :)