// Use this for initialization void Start() { //Time.timeScale = 0; buttonText = GameObject.FindGameObjectWithTag ("readyButton").GetComponent<TextMesh> (); tileFlip = GameObject.FindGameObjectWithTag ("anim tiles").GetComponent<Animator> (); score = GameObject.FindGameObjectWithTag ("world").GetComponent<calculatedScore> (); }
// Use this for initialization void Start() { times = GameObject.FindGameObjectWithTag ("world").GetComponent<Window> (); timerPlayText = GameObject.FindGameObjectWithTag ("play timer").GetComponent<TextMesh> (); instruction2 = GameObject.FindGameObjectWithTag ("inst2").GetComponent<TextMesh> (); timerPlayText.text = ""; instruction2.text = ""; score = GameObject.FindGameObjectWithTag ("world").GetComponent<calculatedScore> (); }