Hello It worked amazingly, thx for the help, you rock
@20mp1
6 жыл бұрын
these tutorials are great!! Thanks :)
@cmilicmili9225
4 жыл бұрын
When I fall in level 2 I get to restart from level 1 but I want to restart from level 2.how to slove it
@SleepingPandaGames
3 жыл бұрын
In the 'OnTriggerEnter' function you can use following code to restart current scene: SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex); See this screenshot as example: www.dropbox.com/s/bdkd500kzkg9mn9/unity_restart-current-scene.png?dl=0 Please, notice that I'm using the latest version of Unity (which is 2019.4.26f1) at the time I post this comment ^^' Hope it helps
Пікірлер: 7