Tuesday, June 9, 2015

Open Unity 5 project with right-click on folder!

I wrote this little reg file because I was tired of navigating to folders to open them.
Gone are the days of having to go through all the work (tongue in cheek) of opening Unity, navigating to a folder. Now with this registry file, you simply right click on a folder and Open in Unity. If you are using a prior version of Unity (4 or prior) note that your folder will be c:\program files(x86) not c:\program files.


Download this and save it as UnityRightClick.reg (I'll typically save it into notepad and rename the text document). To import it into your registry double click on the file. Note that if you are using Windows and don't have it setup to view your file extensions, you may be trying to execute a text file, not a registry file. Ensure your file ends in .reg and not .txt so Windows will iport this into your registry.

BTW if you are using Unity on Windows (as 88% of people do!) ensure you check out the FREE Visual Studio Tools for Unity

16 comments:

  1. Howdy Adam, I get an "object reference not set to instance of an object" when using this. Do you have the same experience? I'm wondering if it is something with the command string (could also be that I have many versions installed)

    ReplyDelete
    Replies
    1. I don't - you can run process monitor and see what command line its opening it with and debug that with the known unity command line params? Reach out to me if that makes no sense :)

      Delete
  2. Can you tell me how to remove this ("Open as Unity Project") key from registry file?

    ReplyDelete
    Replies
    1. run regedit, navigate to this key and delete it
      HKEY_CLASSES_ROOT\Folder\shell\Unity5

      Delete
  3. This comment has been removed by the author.

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. Thanks for the best blog.it was very useful for me.keep sharing such ideas in the future as well.this was actually what i was looking for,and i am glad to came here!
    five nights at freddy's 3 | five nights at freddy's 2 | fireboy and watergirl 3 | 2048 game online | duck life 3 | fireboy and watergirl 6 | age of war


    ReplyDelete
  6. Thank you for sharing valuable information. Nice post. I enjoyed reading this post.Can you play more games at :
    strikeforce kitty 2 | red ball | strike force kitty 2 | strike force kitty

    ReplyDelete
  7. thanks

    [url=http://porteightyeight.com][color=#ecf3f7]จีคลับ[/color][/url]

    ReplyDelete