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