spawn position after application.loadlevel

How would i go about setting the spawn position after application.loadlevel?


The “spawn” position is wherever the camera is in the scene, so you just put your camera wherever your spawn point is.

You could save the triggered objects’ name, or position, either in the playerPrefs or in a variable of a script on the player, since he doesn’t get destroyed on load.

And once your previous scene is loaded again, you just look for that trigger object and set your player to that position.