- Home /
Is FindGameObjectWithTag deprecate?
I need to find if one object is existing (goal is to make sure it is destroyed). I wanted to use GameObject.FindGameObjectWithTag. I was looking for some doc, but did not find it... It is not even in the Unity documentation (but available in script). My script is in C#.
I did find however GameObject.FindWithTag which do the exact same thing. This one is documented.
So... what's the big deal. Is GameObject.FindGameObjectWithTag deprecate or something like that?
I'm using Unity 4.2.
Answer by matbrummitt · Sep 09, 2013 at 08:20 PM
I would guess that the name has simply been shortened since everything after the "." is in the context of GameObject already, so no need to repeat the wording.
Your answer
![](https://koobas.hobune.stream/wayback/20220613113849im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
GameObject.findGameObjectsWithTag returning empty? 1 Answer
How Expensive is Find function? 3 Answers
Find object from another scene 1 Answer
Find, Findwithtag, findgameobjectwithtag Not working 3 Answers
difference between GameObject.FindGameObjectWithTag(Tag tag) and GameObject.FindWithTag(Tag tag) 3 Answers