Friday, 3 January 2014

Setting Photoshop as the Default Image Editor in Unity

You could use these steps to set any default image editor in Unity, you'd just have to change the file path.

Open Unity and click "Edit > Preferences" and then click on "External Tools". Click on the drop-down list next to "Image application" (labelled "Open by file extension" by default) and click "Browse".

Browse to where you installed Photoshop (it should be in the "Program Files" folder, I installed it onto my D Drive so the path is "D:\Program Files\Adobe Photoshop CC (64 Bit)") and select "Photoshop.exe" and click "Open".

"Adobe Photoshop CC" will now show in the "Image application" drop-down.

Close the Preferences window and now all image files will open in Photoshop.

Setting Visual Studio 2013 as the Default Editor for Unity

With our registration to BizSpark now complete it was time to take advantage of getting Visual Studio 2013 Ultimate for free and use it for the editor instead of MonoDevelop. I find that the autocomplete function in MonoDevelop doesn't always work as well as expected, so using VS may be better.

This integration opens scripts in Visual Studio, if you want better integration than that, then you want to look at UnityVS. If you're an Indie with 4 or less employees, then UnityVS is just $99. You can find out about their pricing here.

Open up Unity and click "Edit > Preferences" and then click on "External Tools".

Click on the drop-down list next to "External Script Editor" (it shows "MonoDevelop (built-in)" by default) and select "Browse". Visual Studio is an x86 application, so it will be in your "Program Files (x86)" if you are using a 64bit OS, or just "Program Files" if you're using a 32-bit OS.  I installed Visual Studio on my D Drive (on a machine running Windows 8.1 64-bit), so the path to it is:

D:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE

Select the "Application" "devenv.exe" and click "Open".The drop-down list will now show as "Microsoft Visual Studio 2013" so close the Preferences window and the next time you open a script in Unity, then it will open in Visual Studio 2013.