Categories & Tags
Archive

NinjaCamp III: What references your assets?

March 24, 2011 in Events, Technology by

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!

Share this post

Comments (21)

Comments are closed.

Manon Seppen
24 Mar 2011, 6:15 am

Nice.

24 Mar 2011, 6:25 am

! <3

24 Mar 2011, 6:29 am

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

24 Mar 2011, 6:29 am

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

24 Mar 2011, 6:33 am

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

24 Mar 2011, 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!

Jay Nakai
24 Mar 2011, 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.

JoeW
24 Mar 2011, 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.

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

24 Mar 2011, 10:22 am

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

ri
24 Mar 2011, 12:18 pm

awesome!!

stealthcold
24 Mar 2011, 6:14 pm

uhuuull! =)

24 Mar 2011, 10:44 pm

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

Sam
25 Mar 2011, 3:22 am

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

25 Mar 2011, 7:06 am

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

GeorgeR
28 Mar 2011, 5:08 am

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

30 Mar 2011, 2:19 am

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

31 Mar 2011, 12:29 am

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

Tim
31 Mar 2011, 1:04 pm

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

15 Jun 2011, 8:03 pm

I would use this so hard…

waker
21 Jul 2011, 8:05 am

where can i download this?

Leave a Reply

Comments are closed.