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