NinjaCamp III: What references your assets?

March 24, 2011 in Events, Technology

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!

Comments (21)

Subscribe to comments
  1. waker

    July 21, 2011 at 8:05 am / 

    where can i download this?

  2. Richard Harrington

    June 15, 2011 at 8:03 pm / 

    I would use this so hard…

  3. Tim

    March 31, 2011 at 1:04 pm / 

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

  4. Ugur

    March 31, 2011 at 12:29 am / 

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

  5. laurent

    March 30, 2011 at 2:19 am / 

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

  6. GeorgeR

    March 28, 2011 at 5:08 am / 

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

  7. Jashan Chittesh

    March 25, 2011 at 7:06 am / 

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

  8. Sam

    March 25, 2011 at 3:22 am / 

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

  9. Alonso

    March 24, 2011 at 10:44 pm / 

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

  10. stealthcold

    March 24, 2011 at 6:14 pm / 

    uhuuull! =)

  11. ri

    March 24, 2011 at 12:18 pm / 

    awesome!!

  12. montgomery

    March 24, 2011 at 10:22 am / 

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

  13. Aras Pranckevičius

    March 24, 2011 at 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.

  14. JoeW

    March 24, 2011 at 9:17 am / 

    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.

  15. Jay Nakai

    March 24, 2011 at 8:34 am / 

    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.

  16. Mike

    March 24, 2011 at 6:39 am / 

    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!

  17. Jeff Murray

    March 24, 2011 at 6:33 am / 

    In the words of Vanilla Ice, “Go ninja go ninja go!”

  18. attilam

    March 24, 2011 at 6:29 am / 

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

  19. Anomalous Underdog

    March 24, 2011 at 6:29 am / 

    Nice. I had been wanting the “See what gameobjects use this script” feature

  20. Sophie Houlden

    March 24, 2011 at 6:25 am / 

    ! <3

  21. Manon Seppen

    March 24, 2011 at 6:15 am / 

    Nice.

Comments are closed.