- Home /
Question by
ffff1111 · Feb 01, 2013 at 02:38 AM ·
findgameobjectwithtagfindobjectoftype
FindObjectOfType vs. GetComponent
Which is faster?
FindObjectOfType(Control);
or
GameObject.FindGameObjectWithTag("Scripts").GetComponent(Control);
Comment
Run a benchmark and find out...loop it a million times or so and time it.
Your answer
![](https://koobas.hobune.stream/wayback/20220613091941im_/https://answers.unity.com/themes/thub/images/avi.jpg)