Esempio n. 1
0
    void Start()
    {
        readScript = clearEvent.GetComponent <readText> ();

        retry     = transform.FindChild("retryClear").gameObject;
        endGame   = transform.FindChild("endGameClear").gameObject;
        gameClear = transform.FindChild("gameClear").gameObject;
        retry.SetActive(false);
        endGame.SetActive(false);
        gameClear.SetActive(false);
    }
Esempio n. 2
0
    void Start()
    {
        readScript = clearEvent.GetComponent<readText> ();

        retry = transform.FindChild ("retryClear").gameObject;
        endGame = transform.FindChild("endGameClear").gameObject;
        gameClear = transform.FindChild ("gameClear").gameObject;
        retry.SetActive(false);
        endGame.SetActive(false);
        gameClear.SetActive (false);
    }
Esempio n. 3
0
 void Start()
 {
     Time.timeScale = 1.0f;
     readScript = clearEvent.GetComponent<readText> ();
     timerText = GetComponent<Text>();
     time = timeLimit;
     retry = transform.FindChild ("retryOver").gameObject;
     endGame = transform.FindChild("endGameOver").gameObject;
     gameOver = transform.FindChild ("gameOver").gameObject;
     gameClear = transform.FindChild ("gameClear").gameObject;
     retry.SetActive(false);
     endGame.SetActive(false);
     gameOver.SetActive (false);
     gameClear.SetActive (false);
 }
Esempio n. 4
0
 void Start()
 {
     Time.timeScale = 1.0f;
     readScript     = clearEvent.GetComponent <readText> ();
     timerText      = GetComponent <Text>();
     time           = timeLimit;
     retry          = transform.FindChild("retryOver").gameObject;
     endGame        = transform.FindChild("endGameOver").gameObject;
     gameOver       = transform.FindChild("gameOver").gameObject;
     gameClear      = transform.FindChild("gameClear").gameObject;
     retry.SetActive(false);
     endGame.SetActive(false);
     gameOver.SetActive(false);
     gameClear.SetActive(false);
 }
Esempio n. 5
0
 void Start()
 {
     readScript = EventTxt.GetComponent<readText> ();
     EventTxt.GetComponent<Canvas> ().enabled = false;
     box = GetComponent<BoxCollider> ();
 }
Esempio n. 6
0
 void Start()
 {
     readScript = EventTxt.GetComponent <readText> ();
     EventTxt.GetComponent <Canvas> ().enabled = false;
     box = GetComponent <BoxCollider> ();
 }