A unity tool to find prefabs that reference an object
I don’t post here much because Barney has all the cool art to show and I just do programming which is sooooo boooooring. But the blog was getting so interesting that it needs some mega-dull code related stuff to tone it down. (Seriously, code is super boring. It’s literally just text. Like one of those books that don’t even have any pictures in, or a website with zero rotating skull gifs)
Anyway, made a tiny tool which is pretty useful if you’re using unity and your project’s starting to get unmanageably big like ours is for Crawl. It searches through the dependencies of all your prefabs to find which ones reference an object/script.
To use it, grab the code from here (it needs to be in under a folder named “Editor”).
Then you can right click an object or script in the project window and click “Find References”. It’ll pop up a window with all the prefabs, which you can select from there, or click the little arrow to dig deeper. EASY!