Original address: http://www.cnblogs.com/wonderKK/p/3893557.html
Some crap
Are the unity developers, especially the Microsoft Department's Unity developers, bored with mono? Are you like me, using vs to write code, using mono to track debugging? Good trouble, good trouble.
Maybe you would say, silly you won't use Unityvs plug-in? I would say, I wipe that is not a charge? You would say, stupid, you don't know there's a thing in the world called piracy? I said, well, but I still feel bad.
In fact, in that era, when Microsoft led the Unity developers to launch the WP game, I guess Microsoft would definitely add vs to Unity's debugging support.
This is no, the previous days Microsoft announced the acquisition of Unityvs. You look at people abroad, small companies or teams, relying on a famous product to eat. If a large company spends a little bit of manpower and time, it will soon leave the small company without food. But Microsoft chose to buy them and then launch free products. If at home ... The penguin will say ... Ali will say ... Hundred Poison will say ... Oh, oh, hehe.
Then Microsoft enhanced the UNITYVS function, changed the name (-_-), simplifies the installation, the configuration process. Recently launched Visual Studio Tools for Unity 1.9.
Download installation
Okay, here we are. Let's introduce the plugin next.
Preferred Microsoft's Official blog address: http://blogs.msdn.com/b/visualstudio/archive/2014/07/29/visual-studio-tools-for-unity-1-9.aspx
The three links presented are different plugins for VS2010, VS2012 and VS2013, and I use 2013, so I downloaded the third one.
Then it is installed, there is only one MSI file, yes, easy to use and very cool. MS is very intimate.
Agree, the next step. Installation is complete.
Import and Debug
After installing the plugin, open unity, select New Project, and you will find a package of visual Studio Tools.unitypackage in the standard package.
You can choose to tick it now, import it, or go to unity and import it.
The way to import in unity is:
Menu bar->assects->importpackage-visual Studio Tools
Select all, Import. The menu bar will then come up with a Visual Studio Tools
OK, select Open in Visual Studio and the project will be opened with vs.
It's easy to debug, F5, then choose to attach to the unity process, then go to unity and run the game.
Then the normal debugging is OK.
Installation and use of Unityvs (Visual Studio Tools for Unity)