Search Unity

NinjaCamp ninjas are busy working on small, large and almost impossible projects. This one is tiny in comparison, but should be pretty useful.

We’re adding a context menu item in the asset window to «Filter References in Scene». Selecting it will apply a filter to your hierarchy window to find all GameObjects or their children that reference the selected asset.

Context Menu

Alternatively the filter can be specified manually by using the «ref:ASSET PATH» syntax.

Filtered Results

With two days of NinjaCamp to go we expect to finish the «Filter References in Project» option too. It will help you find other assets (prefabs, scenes) that use the selected asset.

Take care, Uniteers!

Ya no se aceptan más comentarios.

  1. where can i download this?

  2. Richard Harrington

    junio 15, 2011 a las 8:03 pm

    I would use this so hard…

  3. That would have been *really* useful on my last project! ;)

  4. I love these workflow improvements, wanted something like this for a long time =)

  5. What happens if I select a base class ? Does it find scene objects with classes that inherit from it ?

  6. I’d suggest using the more common term – dependencies. So it could be called «List Dependencies» or «Highlight Dependencies».

  7. This will be extremely useful! It’s one of the features I frequently wish Unity had while working with Unity.

  8. That is indeed a great idea! I’ve been finding myself in need for such a feature many times :)

  9. This will be a very handy feature, congratulations, hope you make ninja camps more often.

  10. uhuuull! =)

  11. very nice. been wanting something like this to help reduce project bloat.

  12. Aras Pranckevičius

    marzo 24, 2011 a las 10:08 am

    @JoeW: you can do that. Press the little triangle icon, select Type and enter «Material» or «Texture2D» for example. Or as a shortcut, just enter «t:Material» in the field.
    In the Hierarchy View it’s the same. Want to find all cameras in the scene? Type «t:Camera» in the field.

  13. This looks very useful! More filtering tools are always welcome.

    Something that I’d like to see that’s closely related to this is a drop-down Filter-by-Type menu in the Project and Hierarchy windows – so that, for instance, I could just show all the materials, or, just the lights in a scene, etc.

  14. Can’t say how happy I am to see this! Drives me nuts when I’m trying to clean out old project assets, and I’m not sure what’s still referencing content I want to delete.

  15. Awesome, this could’ve saved me some time yesterday to explain why certain (huge) assets were included in builds.
    Thanks in forward for this big time saver!

  16. In the words of Vanilla Ice, «Go ninja go ninja go!»

  17. Man, this will save us so much time, brilliant!

  18. Anomalous Underdog

    marzo 24, 2011 a las 6:29 am

    Nice. I had been wanting the «See what gameobjects use this script» feature

  19. ! <3

  20. Nice.