private void FinishedCourse() { GameObject engine = GameObject.FindWithTag("Engine"); Thruster thruster = engine.GetComponent <Thruster>(); thruster.StopThrusters(); ScoreEntering = Convert.ToInt32(Score); UpdateScoreText(true); IsWaitingForName = true; IsFinished = true; ReInitGame(); //reset player to show scores on screen }