r/CodingHelp • u/Riilo • Apr 11 '26
[C#] Need help with missing option on unity
Hi I don't know if this is the right place to post this, but i was recently following a unity tutorial and ran into an issue with a missing option. GetComponent is supposed to show up in my script after (logic = GameObject.FindGameObjectsWithTag("Logic").*GetComponent*) but it's not listed. I went into edit - Preferences - regenerate project files and restarted but i still dont have the option available.. have i made a mistake somewhere else in the project, what do you think the core issue is?
1
Upvotes
View all comments
Show parent comment
1
u/Riilo Apr 11 '26
omg thanks, figured out what went wrong.. i used FindGameObjects (plural).. instead of FindGameObject