void Start() { Screen.orientation = ScreenOrientation.Portrait; scoreText.text = GlobalController.newScore.ToString(); if (GlobalController.currUser == "GUEST") { infoText.SetActive(true); } switch (GlobalController.fromTest) { case 1: GlobalController.AddNewScoreTest1(GlobalController.newScore); highScoreText.text = GlobalController.highScoreTest1.ToString(); break; case 2: GlobalController.AddNewScoreTest2(GlobalController.newScore); highScoreText.text = GlobalController.highScoreTest2.ToString(); break; case 3: GlobalController.AddNewScoreTest3(GlobalController.newScore); highScoreText.text = GlobalController.highScoreTest3.ToString(); break; } }