示例#1
0
 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;
 }
示例#2
0
    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;
        }
    }