void OnCollisionEnter(Collision collision) { Scorekeeper scorekeeper = FindObjectOfType <Scorekeeper>(); scorekeeper.Incrementscore(scoreperhit); }