// 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); }
private void ShowDescription() { S_UI.ShowDescriptionMessage(description); }
public void GameOver() { S_UI.GameOver(); }