Load a Scene and have the player be move to a specific location
So basically i have this game with multiple levels and scenes and what i want to happen is when the player leaves and re-enters the room he re-enters in the same position he left. How can i achieve this?
Answer by getyour411 · Sep 28, 2015 at 10:35 PM
You need to store the desired location in some kind of persistent, scene independent way: playerprefs, dontdestroyonload, static class, etc.
Please search first, you'll find many duplicate questions/answers on this. Google/Search: Unity scene change respawn player
Your answer
Follow this Question
Related Questions
Teleport 2D Character on TriggerEnter 2 Answers
Trouble with directing launched projectiles in Unity 2D 0 Answers
Trouble with controlling the direction of projectiles with C# code 1 Answer
I can't do jump in my 2D game 1 Answer
"Invalid argument"? 0 Answers