Unity Discussions
Hello guys, why i can not add this to my code?
Questions & Answers
legacy-topics
Homsi
July 15, 2016, 3:34pm
1
74095-untitled.png
1327×525 15 KB
NoseKills
July 15, 2016, 3:44pm
2
Because it’s been removed
. Use GetComponent just like you would for any other component.
Related topics
Topic
Replies
Views
Activity
why i am getting this errorr....
Questions & Answers
legacy-topics
1
314
July 14, 2016
scripts as a addcomponent to a gameobject
Questions & Answers
legacy-topics
2
3228
March 28, 2015
What's the best way to add component and get component?
Questions & Answers
legacy-topics
1
1398
August 23, 2015
How should I use the Generic versions of GetComponent<T> and AddComponent<T>?
Questions & Answers
legacy-topics
3
5777
October 13, 2010
AddComponent and query variables from component
Questions & Answers
legacy-topics
1
1266
February 26, 2011