This video demonstrates how to write code to add checkpoints (so the player can respawn to the last checkpoint when falling off a platform) in a 2D platformer game in Unity.
Code for this tutorial - https://github.com/danielkwood/Unity2...
Unity website - https://unity.com
GitHub - https://github.com/danielkwood/Unity2...
Free Pixel Space Platform Pack - https://assetstore.unity.com/packages...