using UnityEngine;
using System.Collections;

public class RespawnScript : MonoBehaviour {
	public GameObject Player;
	public Transform respawnPoint;

	void OnTriggerEnter2D(Collider2D other){
		Player.transform.position = respawnPoint.transform.position;
	}
}
