Whenever you fall off the stage, you will lose a life and be spawned to a nearby point in the world. There may be a better solution, but the standard seems to be using a checkpoint system. Whenever you hit a checkpoint, then it will save and when you fall, you will respawn at that checkpoint.
Checkpoint could be a prefab so we can put it anywhere we want in the stage in order to build the world out.
Whenever you fall off the stage, you will lose a life and be spawned to a nearby point in the world. There may be a better solution, but the standard seems to be using a checkpoint system. Whenever you hit a checkpoint, then it will save and when you fall, you will respawn at that checkpoint.
Checkpoint could be a prefab so we can put it anywhere we want in the stage in order to build the world out.