public void ActivateLostUI() { gameOverText.gameObject.SetActive(true); playAgainText.gameObject.SetActive(true); //scoreText.rectTransform.position = new Vector3(300, -220, 0);//Set to the center of the screen stage = gameStage.lost; }
void StartText() { if (Input.GetButtonDown("Jump")) { titleText.gameObject.SetActive(false); instructions1Text.gameObject.SetActive(false); instructions2Text.gameObject.SetActive(false); scoreText.gameObject.SetActive(true); feathersText.gameObject.SetActive(true); stage = gameStage.playing; } }