Respawning to checkpoint and restarting scene in unity (Unity 3D/2D tutorial)

Опубликовано: 24 Март 2026
на канале: The Alchemist
5,925
94

In this video i am going to show you how to make your player respawn at checkpoint after he dies , i used 2 methods for respawning , the first one is respawning to checkpoint without losing stuff like score or coins specially useful if you are building a 2D platformer and the other approach is restarting the entire scene which is easier to code but you would lose stuff like coins and score this is specially useful if you are making an endless 2D runner game like alto's odyssey or a 3D one like subway surfers.

If you found this video informative dont forget to hit the like and subscribe button , cheers.

Music : www.bensound.com

medieval king pack : https://assetstore.unity.com/packages...