﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

public class LevelTester : MonoBehaviour {

	public GameObject testPlayer;

	// Use this for initialization
	void Start () {
		if (testPlayer != null) {
			if (SceneManager.GetActiveScene ().name == "Tutorial Island") {
				GameObject.Instantiate (testPlayer, new Vector3 (72, 0, 105), Quaternion.identity);
			} else {
				GameObject.Instantiate (testPlayer, new Vector3 (0, 200, 0), Quaternion.identity);
			}
		} else {
			Debug.Log ("There is no Test Player. Please attach a Test Player prefab to this script.");
		}
	}
}
