Visual Studio C # Integration notes for Unity3d technology

Source: Internet
Author: User
Tags svn update

Welcome to Unity Learning, unity training, Unity Enterprise training and education zone, there are many u3d resources, u3d training videos, u3d tutorials, U3d Frequently asked questions, U3d Project source code, we are committed to creating the industry Unity3d training, learning the first brand.

What features can I use for Visual Studio C # integration?

A more complex C # development environment.
These include smart AutoComplete, computer-assisted change source files, smart syntax highlighting tips, and more.

What is the difference between Express and Pro?

VisualStudio C # 2010 is a Microsoft product. It includes express version (Express) and Professional Edition (profesional).
Quick version for free version, you can click the link below to download: http://www.microsoft.com/express/vcsharp/
The pro version is for paid software, you can click on the link below to learn more: http://www.microsoft.com/visualstudio/en-us/products/professional/default.mspx

Unity's Visual Studio integration is divided into two parts:
1) Unity creates and maintains VisualStudio engineering files. Use the Express and Professional editions for development.
2) When you double-click a script or error in unity, unity will automatically open VisualStudio. Available for professional editions only.

I have installed the Visual Studio Express version, how to use it?
    • Select Menu Resource (Assets), Sync VisualStudio Project in Unity (Sync VisualStudio Project)
    • Find the most recently created. sln file (Assets) folder on the top-level folder in the Unity project
    • Open this file with Visual Studio Express.
    • Now you can edit all of the script files and revert to Unity using them.
I already have Visual Studio Pro installed, how do I use it?
    • Open edit, Preferences (Preferences) in Unity, making sure that Visual Studio is selected as the preferred external editor.
    • Double-click the C # file in the project. Visual Studio will automatically open this file.
    • You can edit the file, save it, and return to Unity.
Precautions:
    • Although Visual Studio has its own C # compiler, you can use it to check for errors in C # scripts, but Unity still compiles your scripts using its own C # compiler. Using the Visual Studio compiler is still useful because it means that you do not have to always cut back to Unity to check for errors.
    • The Visual Studio C # compiler has more functionality than the current Unity C # compiler. This means that some code, especially the updated C # features, will not fail in Visual Studio, but will fail in Unity.
    • Unity automatically creates and maintains Visual Studio. sln and. csproj files. Once any user adds/renames/moves/deletes files in unity, unity rebuilds the. sln and. csproj files. You can add files to the solution from Visual Studio. Unity will import these new files, and the next time unity creates the project file, the new files will be included.
    • After the assetserver or SVN update, Unity will not regenerate the Visual Studio project files. You can manually request Unity to regenerate the Visual Studio project files through the Sync VisualStudio Project (Sync VisualStudio Project) menu, which is available through the resources (Assets).

For more highlights, please click http://www.gopedu.com/

Visual Studio C # Integration notes for Unity3d technology

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.