Ejemplo n.º 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);
 }
Ejemplo n.º 2
0
 private void ShowDescription()
 {
     S_UI.ShowDescriptionMessage(description);
 }
Ejemplo n.º 3
0
 public void GameOver()
 {
     S_UI.GameOver();
 }