Recently, I see too many YouTube videos, tutorials, and questions in Unity groups where people are overusing GetComponent methods in their code. Time to talk about why you shouldn’t use it! Or at least use it sparingly.
Why am I bothering about that? Because I’m doing code reviews, and I just had enough of it. ?
YouTubers, tutors, Unity, and other content creators – YOU ARE RESPONSIBLE FOR MAKING PEOPLE DO BAD THINGS!
Now let’s try to fix it. ?
Continue reading “Stop overusing GetComponents!”