Added comments

This commit is contained in:
Furentes
2019-04-29 11:48:12 +02:00
parent 2245cb7b42
commit 49cc37b261
3 changed files with 20 additions and 23 deletions

View File

@ -28,10 +28,12 @@ public class Spawner : MonoBehaviour
{
if (Input.GetKey(KeyCode.Escape))
{
// End the game
Application.Quit();
}
if (Input.GetKey(KeyCode.F1))
{
// Restart the game
restart();
}
}