In my first area, there are four locations plus the place you start in. In order to stay consistent, I need to move the “spawn-point” to the right area outside the “door” to another map. What is the best way to do this? Simply cache your transform in player prefs? Do I need an array of locations?
Thanks!
answer to your questions depends on how do you spawn objects.
with simple method Instantiate you can pass a new position for instantiating, so all you need is to pass position needed.
and yes, anyway you should store somewhere an array of locations. this can be array of Vector3, or some empty gameObjects placed in “spawn-points”