Exemplo 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);
    }
Exemplo 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);
    }
Exemplo 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);
 }
Exemplo 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);
 }
Exemplo n.º 5
0
 void Start()
 {
     readScript = EventTxt.GetComponent<readText> ();
     EventTxt.GetComponent<Canvas> ().enabled = false;
     box = GetComponent<BoxCollider> ();
 }
Exemplo n.º 6
0
 void Start()
 {
     readScript = EventTxt.GetComponent <readText> ();
     EventTxt.GetComponent <Canvas> ().enabled = false;
     box = GetComponent <BoxCollider> ();
 }