how to create a spawner

i dont any idea on how to create a spawner, what i mean is when you’re done on the first map then to transfer the player into other map or location… just like a portal or whatever

You can use:

Application.LoadLevel ("LevelName");

I think he means different location on same Level.

Your spawner code would look like this i guess:

public Transform otherTeleport;


void OnCollisionEnter(Collision collision) {
  if(collision.gameObject.Tag == "Player") {
    collision.Transform = otherTeleport;
  }
}

otherTeleport is teleport to which you want to spawn from this portal. Can also use OnTriggerEnter if you want.

WARNING: be sure otherTeleport ACTUALLY IS other teleport otherwise you’ll get nasty loop.