Beispiel #1
0
 // Start is called before the first frame update
 void Start()
 {
     instance       = this;
     timeText       = GameObject.Find("Time").GetComponent <Text>();
     timeText.text  = "";
     scoreText      = GameObject.Find("Score").GetComponent <Text>();
     scoreText.text = "";
     canvasHearts   = GameObject.Find("/Canvas/Hearts");
     gameOverPanel  = GameObject.Find("/Canvas/GameOver");
     gameOverPanel.SetActive(false);
 }
Beispiel #2
0
 private void ShowDescription()
 {
     S_UI.ShowDescriptionMessage(description);
 }
Beispiel #3
0
 public void GameOver()
 {
     S_UI.GameOver();
 }