Skip to content

Instantly share code, notes, and snippets.

@curious-username
Created September 16, 2021 05:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save curious-username/0c522f9e468ef440ae69c1f60a24f360 to your computer and use it in GitHub Desktop.
Save curious-username/0c522f9e468ef440ae69c1f60a24f360 to your computer and use it in GitHub Desktop.
post null
if(_gameOverText != null) {
_gameOverText.gameObject.SetActive(true);
_scoreText.gameObject.SetActive(false);
_gameOverText.text = "Game Over!";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment