using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
public class ToPhase1 : MonoBehaviour {


	// Use this for initialization
	void Start () {
		GameObject.FindWithTag ("Player");
	}

	// Update is called once per frame
	void Update () {

	}

	void OnCollisionEnter2D(Collision2D col)
	{
		if (col.gameObject.tag == "Player") 
		{
			Debug.Log ("Loading Next Level");
			SceneManager.LoadScene ("Phase1");
		}

	}
}
