public void ClickStarstGame() { DeleteBoxs(); PlatformController.GenerateLevel(); mainBox.GenerateMainBox(); progress.SetIsGame(true); buttonStartGame.SetActive(false); maxScoreInt = progress.GetmaxCount(); maxScore.text = "Max Score: " + maxScoreInt.ToString();//TODO score = 0; newTextThesScore(0); textPlay.text = "Play"; step = -1; NewStep(); }