I’m really enjoying this course as a total beginner and starting to feel like I can do some of the challenges. I programmed the scoring for instance before watching the lecture.
When I jump ahead and have a go, I usually declare the FindObjectOfType in the Start method, and then just use the variable in the method to access the method from another class.
Is this more efficient or does doing this add an extra step making it less so?
Rick uses GetComponent in Start, which is what made me think of this.
With these small programs we’re writing I’m sure it doesn’t make much difference but it would be good to know this for the future.