Visual Studio Tools for Unity
Unity is now my official game development platform. All games I’m doing right now are in Unity. But, as a programmer, is not the Unity IDE that I use more, it’s the programming IDE. So, to be more productive, a good tool is needed. For that I use Visual Studio. For me is the best C# editor. I like MonoDevelop and used it for a long time, but with Visual Studio and ReSharper, there is no competition. I even give up on debugging on Unity to use an editor that I feel more confortable.
I actually don’t think that Visual Studio is the best IDE ever (I prefer IntelliJ Idea, but they have no plans to make a C#/Mono support), it seems like have too many tools that I’ll never use for Unity projects and is very heavyweight, but surely is the best for C#.
It happens that there was a plugin called UnityVS in the past that promised to add debugging to the Unity + Visual Studio environment. I tested it and it was very good. Really worked. But the plugin had some bugs and I got used to code and not debug that I thought that the plugin wouldn’t worth for me and forgot about it. Despite my lack of interest (or money), the plugin is very loved by the Unity community.
Some days ago, Microsoft bought the company SyntaxTree, creator of UnityVS. I thought that it was a nice thing and I was right! Today they annouced Visual Studio Tools for Unity, a free plugin for Visual Studio that is exactly the beloved UnityVS with some improvements.
That was great news! Now we can expect that the plugin will work better than ever, with better integration and hopefully no bugs. I’ve tested quickly and it seems more fast and stable than the previous version. I had a hard time trying to connect the two IDEs, but even when they wasn’t connected, the debug worked like a charm: really fast and responsive.
Debugging is not the only feature of the plugin, there is some more. One of the others that I liked is the “Unity Project Explorer” view. It shows only the folders and files that are inside your “Assets” folder in your Unity project. Very handy. The only flaw here is that the view doesn’t get the appearance of Visual Studio theme, what makes it seems odd when you have a dark skin in the IDE.
Overall, it is a really good plugin. If you like to code using Visual Studio, this is the only tool that was missing to make your life better to make Unity projects.
Here are the pages to download the Visual Studio Tools for Unity:
- Visual Studio 2010 Tools for Unity
- Visual Studio 2012 Tools for Unity
- Visual Studio 2013 Tools for Unity
Source: The Visual Studio Blog