List prefabs containing certain component.

Is it possible to filter the project window to only list prefabs containing a certain script / component in them?

Thank you.

If you want to select all objects containing a component try to look at the “Find methods” and then just use transform.gameObject to get the gameobject its attached to. I am unsure if you can just list all prefabs, you may have to find all gameobject with the component and then weed out all gameObjects that arent prefabs (maybe have a collections arrayList of the prefabs to compare to?) and then do your work on that list. Since this list doesnt have a finite size i would suggest using collections framework (it normally is build into the programming language like c# but unsure if it is for javascript).

http://docs.unity3d.com/Documentation/ScriptReference/index.Accessing_Other_Components.html

http://docs.unity3d.com/Documentation/ScriptReference/index.Accessing_Other_Game_Objects.html

Hope i helped!