New answers tagged scene
In your RespawnPlayer() method you are loading a scene at first. Then checking current position, then translating the player to the checkpoint. Upon loading a new scene, everything resets. In RespawnPlayer() after second line execution, the level manager restarts from Start() ignoring the current checkpoint and player translate codes in RespawnPlayer(). In ...
Top 50 recent answers are included