Some stuff

This commit is contained in:
2018-04-12 03:01:15 +10:00
parent c4b17b9e3b
commit 2c823744f9
16 changed files with 548 additions and 42 deletions
+5
View File
@@ -24,6 +24,11 @@ public class GameController : MonoBehaviour {
SceneManager.LoadScene ("gameover");
}
//track this
if (Input.GetMouseButtonDown(0)) {
PersistentData.clicks++;
}
//update the texts
timerText.text = "Time Remaining: " + PersistentData.timer;
scoreText.text = "Score: " + PersistentData.score;