Skip to content

Commit 539a992

Browse files
committed
WebGL
1 parent a160fe3 commit 539a992

29 files changed

+1283
-32
lines changed
Binary file not shown.

Assets/Challenge 5/Instructions/Challenge 5 - Outcome.mov.meta

Lines changed: 0 additions & 18 deletions
This file was deleted.

Assets/Challenge 5/Scripts/DifficultyButtonX.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ void Start()
1717
/* When a button is clicked, call the StartGame() method and pass it the difficulty value (1, 2, 3) from the button */
1818
void SetDifficulty()
1919
{
20-
Debug.Log(_button.gameObject.name + " was clicked");
2120
_gameManagerX.StartGame(Difficulty);
2221
}
2322
}

Assets/Challenge 5/Scripts/GameManagerX.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,12 @@ IEnumerator TimerRoutine()
9595
}
9696
GameOver();
9797
}
98+
99+
private void Update()
100+
{
101+
if (Input.GetKeyDown(KeyCode.Q))
102+
{
103+
SceneManager.LoadScene(0, LoadSceneMode.Single);
104+
}
105+
}
98106
}

0 commit comments

Comments
 (0)