mirror of
https://github.com/p08dev/Tetrys.git
synced 2026-06-19 13:13:50 +02:00
Added comments
This commit is contained in:
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user