void Start() { buildIndex = SceneManager.GetActiveScene().buildIndex; Stage2Items = GameObject.FindGameObjectsWithTag("SecondStageItems"); audioSource = GetComponent <AudioSource>(); timerScript = timerScript.GetComponent <Timer>(); totalizer = totalizer.GetComponent <Totalizer>(); //TODO Try and referenc the scoreboard better scoreBoard = GameObject.Find("ScoreBoardPanel"); totalizer.enabled = false; timerScript.enabled = false; score = 0; delayTimerDelay = 3.0f; scoreBoard.SetActive(false); foreach (GameObject obj in Stage2Items) { obj.layer = 9; } if (buildIndex == 1) { //TODO ----------------------------TRy and find the printerscript more efficiently printerScript = GameObject.Find("PrinterContainer").GetComponentInChildren <PrinterScript>(); highscore = PlayerPrefs.GetInt("highscore", highscore); highScoreText.text = ("$" + (highscore.ToString())); foreach (GameObject screen in screens) { screen.SetActive(false); } videoPlayer.Prepare(); } }