Powerhoof! Find Object References in Unity...

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!


  1. Rafer45

    Nice! Thank you for typing up the game’s vital liquids and innards.

    I don’t really understand a lick of C# but I appreciate you making this public.

    If you don’t mind the question, how did you get started with Unity? Do you have any resources you’d recommend?

    • One of the great things about unity is how much information there is out there, just because so many people are using it. There’s a lot of tutorials to get you started making various types of games. I’d have a search for one thats similar to what you want to make and just dive in from there.

  2. Sepehr Sobhani

    Thank you for posting this. I would love to hear more about the development methodologies you use and anything else technical you find interesting.

    • Yeah it’s hard to know where to start and what kind of thing would be interesting. I try to expose as much as functionality as I can in the editor and keep things as flexible as possible to make it easy for Barney to try lots of crazy stuff. That’s key to how we work together really.

  3. Considering I am schnitzel at programming and I was considering GameMaker for a noob like me, is Unity hard for somebody with no programming knowledge? Or, is it hard to learn all you need to use it decently? XD And another question regarding the soundtracks…I know you didn’t make some of the music,but if you did any soundtracks for the game,what program did you use?
    I find FL studio a nice one,but I suppose pro game makers might use something…different xD
    Cheers and keep up the good work! *If i were rich i’d buy many copies and distribute around everyone i know ahah*

    • I’d say gamemaker is a good bet, especially if you’re interested in making 2d stuff. The good thing about coding skills is they transfer really easily between different things, so if you get started on game maker the principles you learn will be useful in unity and other engines too.

      For music, Ableton Live is the program most people I know use to make music, I think that’s what most people would recommend.

      Hope that helps!

      • Thanks a lot Dave ^-^ hope i can make some good use of this advice and start learning some stuff :p GL with the developing,cant wait for the official launch of Crawl :3