What are the components of Unity3D's script Editor
This article will explain in detail what components of Unity3D script editor, Xiaobian think it is very practical, so share it with you as a reference, I hope you can gain something after reading this article.
This article mainly introduces VS2017 in detail as the most compact component needed by Unity3D script editor, which has certain reference value. Interested friends can refer to it.
preface
Using VS2017 as a script editor for Unity requires the most minimal components.
My testing environment
windows 10 x64
windows 7 x64 sp1
Date: 2017-4-22
The smallest component.
Only three required components are required, all of which are optional installation locations
C#and Visual Basic Roslyn compilers
static analysis tools
Visual Studio Tools For Unity (I downloaded them from the vs plug-in library)
online installation
1. Download the corresponding version from the official website. The file format is as follows: vs_enterprise__2144843982.1466598399.exe
2. Double-click to download the file, accept the protocol, select the required component, and install it.
offline installer
Official documents:
Create an offline installer for Visual Studio 2017
Visual Studio Enterprise 2017 Component Catalog
Sample script:
The following scripts, download Roslyn compiler offline, Nuget, UnityVS, static analysis tools to d: \vs2017offline
The code is as follows:
vs_enterprise.exe --layout D:\vs2017offline --add Microsoft.VisualStudio.Component.NuGet Microsoft.VisualStudio.Component.Roslyn.Compiler Microsoft.VisualStudio.Component.Roslyn.LanguageServices Microsoft.VisualStudio.Component.Static.Analysis.Tools Microsoft.VisualStudio.Component.Unity --lang zh-CN
I am in Windows 7, did not install successfully, so no comments, probably because I just finished repairing VS2015 computer did not restart.
Disk size after installation
In Windows 10, I installed Unity essential components + common widgets, occupying approximately 1.4G of disk
In Windows 7, I installed Unity's 2 components +. NET Desktop Development Components (WPF, WinForm, Console) at the same time, occupying about 3.7G of disk.
VS2017 Preview
change feature
If you open the required components of the project, VS is not currently installed, VS will automatically pop up the interface for you to install, as shown below:
If you want to manually add new features yourself and can't find the visual studio installer, then open the downloaded vs installer to make changes, such as my: vs_enterprise__2144843982.1466598399.exe, run Select Changes, and add the components you need.
use experience
Compared to other versions of VS, let me talk about my personal feelings about using them.
The installation speed is indeed faster, but the offline version of the image file is not currently available on the official website.
Less memory footprint, as seen in Task Manager
About "Unity3D script editor what components" This article is shared here, I hope the above content can be of some help to everyone, so that you can learn more knowledge, if you think the article is good, please share it to let more people see.