- Home /
Search function in Hierarchy
Hi! Is there anything like a search function for searching attached scripts in hierarchy?
Thanks!
Answer by jonas-echterhoff · Dec 16, 2010 at 02:04 PM
In Unity 3, you can just type the class name of the script into the search field of the hierarchy view (or is that not what you meant?).
i tried to search via search field, but i found only gameobjects with the same name, not gameobjects with the script attached i'm searching for
Check the dropdown menu on the search field. It should be set to "Type" or "All", not to name. Also, script names must match exactly. It won't show matches for partial names (ie typing "$$anonymous$$onoB" will not show any gameObjects, whereas typing "$$anonymous$$onoBehaviour" should list all game objects with $$anonymous$$onoBehaviour components).
Your answer
![](https://koobas.hobune.stream/wayback/20220613091257im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to call a function on a prefab script 2 Answers
How to call a function from a script in another scene 5 Answers
Is there a way to override a function in each instance of the same script? 3 Answers
The variables and functions 2 Answers
Which Unity functions are generally slow/bad for performance? 4 Answers