Teleportation from one object to the other 2D

Hey guys, okay I’m trying to figure out how to teleport my player from one object (Teleporter1) to the other (Teleporter2) here is my code so far:

function OnCollisionEnter (collision : Collision) {



		if(collision.gameObject.name==("Player")){

	transform.position = Teleporter1.transform.position();

	}

}

I’ve been looking around at different ways to do it and different scripts and so I tried to put one together myself but there’s something wrong and I can’t seem to solve it so any help would be much appreciated!

collision.transform.position = Teleporter1.transform.position;