Hi! In Complete C# unity gamedev course (video 94) we were calling method FindObjectOfType. It takes lots of resources of the computer. So there are more effective way to do this, i guess.
My version of scorer down below.
The idea is using static var is Scorer class. Static vars are initiated once for all of the examples of this variable. So if we have class with static var, and we have two examples of this class. Value of this vars will be the same all the time.