public void StartGame() { //OMG! if the player won :) if (PlayerPrefs.GetInt("Score") != 0) { player_scores = PlayerPrefs.GetInt("Score"); } StopAllCoroutines(); ui_controller.RefreshTimeUI(step_time); ui_controller.RefreshScoreUI(player_scores); game_field.localPosition = Vector3.zero; GenerateNewField(); }