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

public class Ending : MonoBehaviour {

	public Text wavedAt;
	public Text correctlyWaved;

	// Use this for initialization
	void Start () 
	{
		Cursor.lockState = CursorLockMode.None;
		wavedAt.text = "";
		correctlyWaved.text = "" + GameInfo.getCorrect () + "";
	}

	public void PlayAgain()
	{
		SceneManager.LoadScene ("Intro");
	}
}
