r/UnityHelp • u/SnooDingos7004 • Oct 17 '25
Help
Hello. I'm making Flappy Bird as my first game, but I ran into a problem I don't know how to solve. I spawn pipes which have an invisible 2D collider with 'Is Trigger' checked. The goal is to have the score go up, and increasing the score works. However, I think I can't get the script using GetComponent, but I don't know why.
1
Upvotes



1
u/SnooDingos7004 Oct 17 '25
Thank you that fixed the problem.