public void NextTurn() { Timer timer = GameObject.Find("Time").GetComponent <Timer>(); turn++; if (turn == 12) { end++; } if (end == 2) { ShowEnd(); } if (turn == 24) { SceneManager.LoadScene("FinalStats", LoadSceneMode.Single); } ShowTurn(); timer.ResetTimer(); OffBlocks(); deliverys.CheckDeliverys(); buildController.CheckBuild(); int teams = teamController.CheckTeams(); int teamsStore = teamControllerStore.CheckTeams(); score.ChangeScore(teams * 10000); score.ChangeScore(teamsStore * 10000); manager.ShowRisk(); }