Visual Studio Tools for Unity Installation and use reprinted from: CSDN
- Dangling a bit, 10.1 to now and the past two months, the two months of nothing to learn, all day to work, from this weekend began to pick up unity, in order to years later.
- Before using unity, but with the VS editor, the most painful is not debugging, and later heard a team out of a plug-in, support vs debugging, Happy Ah, later this was bought by Microsoft, and free for developers to use.
But there's no time for this, so ... Now start to do some leisure time, so I installed a bit, it is very good to share to everyone, (often in the group to see someone ask this.) It's just as simple as the other plugins we use. Import can, the following do not talk nonsense, the process began. Download
as we all know, we need to download everything first. : http://unityvs.com/, there are several vs versions in it, choose from your current vs.
There is also a blog address: http://blogs.msdn.com/b/visualstudio/archive/2014/07/29/visual-studio-tools-for-unity-1-9.aspx
Installation:
Open, and follow the prompts to install.
Import: There are two ways of importing,
One is when the Create project, the choice
or
Two methods are available, after the successful import, you can see the menu bar has clicked Open in Visiual Studio. You can also edit the script directly (double-click) and it will open automatically.
Note: This time, under normal circumstances, automatically set the external Tools--extern Script editor in edit--preferences to Unityvs. If not, set it up again, or restart it.
Debug: When vs is open, direct F5 will automatically default to the current Unity project.
There is also a very useful tool is this. You can choose to just turn on debugging, or open the Debug and Play project.
Shortcut keys for debugging:
F5: Start Debugging
F6: End Debug F10: Next F11: statement shift+f11: Jump
out
Run the game: play in the game can be, this time if you set a breakpoint, and will execute that code will be able to enter the debugging.
Visual Studio Tools for unity installation and use