Reproduced Installation and use of Unityvs (Visual Studio Tools for Unity)

Source: Internet
Author: User

Article Directory[Hide]
    • 1 some nonsense
    • 2 Download and install
    • 3 Importing and debugging
1. Some nonsense

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.

2. Download and install

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.

3. 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.

Original link http://www.cnblogs.com/petto/p/3886811.html

In fact, this tool also provides a lot of convenient features.

1. Quick view of Help documents

In VS directly in the menu bar "Help->unity API Reference" can be directly read the Help document, or shortcut keys CTRL + ALT +m,ctrl + H (good anti-human shortcuts ...) )

If you select an API and look at the Help document, you will be directly positioned to change the API, very convenient.

2. Quick Find, insert Monobehaviour default method

The original default script is only Start and Update. Want to write other methods have forgotten how to spell how to do? Check the API documentation? That's a lot of trouble!

First make sure the cursor is within class, and then right-click directly.

See, one is implement monobehaviours (shortcut: Ctrl + Shift + M).

This will show you the default methods for all Monobehaviour, you can choose multiple options, and then make sure that you will be able to generate these methods in your script.

The other one is quick monobehaviours (shortcut key: Ctri+shift +q)

Then match these methods according to your input blur.

It's convenient, isn't it? You don't have to remember the names of these methods anymore, right?

This plugin is still quite powerful, isn't it.

Come on! WP developers.

Original link: http://www.cnblogs.com/petto/p/4048895.html

Reproduced Installation and use of Unityvs (Visual Studio Tools for Unity)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.