summaryrefslogtreecommitdiff
path: root/RestartOnR.cs
blob: 346eff3ce8238fe964b27624e26020921e11808c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using UnityEngine;

public class RestartOnR : MonoBehaviour
{
	private void Start()
	{
	}

	private void Update()
	{
		if (Input.GetKeyDown(KeyCode.T))
		{
			Application.LoadLevel(Application.loadedLevel);
		}
	}
}