Can the Unity Editor 'Find References' for a particular Game Object; like MonoDevelop can for highlighed variables?

Hello,

Being able to "Find References" in MonoDevelop is incredibly useful. Is there a way to do the same in the Unity editor? For example, can I select a GameObject in the Hierarchy view and then somehow see all its (possible) connections to other.. scripts or what-have-you?

[edit] "connections to other.. scripts;" those DO show up in the inspector, my bad. What I'm Really looking for is possible REFERENCES of selected GOs in other scripts; that's what I mean by "connections." Pardon my unfamiliarity with the proper terminology.

[edit2] By "REFERENCES" I mean like when you drag and drop a GO onto a script's public variable in the inspector. There are cases where I've dragged and dropped a GO onto several scripts and it would be extremely helpful to be able to find/see all its references/connections in the unity Editor. (Perhaps such a feature already exists and I just don't know how to find/look for it ;/ )

3 Replies

Hi @donimation! If I got it right, you look for a usage/reference finder asset.

You mentioned our tool, Asset Usage Finder, but probably aren't sure if it will be worth the money. Based on experience of users that bought it, the tool saves you much more than it costs (take a look at reviews on Asset Store). Btw, it's being used not only for finding references, but for cleaning the project, too.

Thanks for the reply jj! I looked at the documentation you provided and I'm trying to figure out how to open that [EditorUtilityColl] tab on the (I'm guessing) inspector (?) so I can "Find/Check Dependencies"

By "write your own custom script to use the method." you probably mean.. I need to create a script (code provided in documentation I guess ?) to get it to show up on the editor?

I was hoping for some window I could find in like Edit>Project settings or something.