[Unity官方文档翻译]Downloading and Installing Unity下载和安装unity教程

这篇教程详细介绍了如何下载和安装Unity编辑器,包括使用Unity Download Assistant和命令行安装方法,适用于Windows和OS X系统。对于Windows用户,提供了编辑器安装、卸载、标准资产安装及示例项目安装的命令行操作;而对于OS X用户,使用pkg文件进行安装。此外,还提到了通过Torrent下载和一次性安装多个Unity版本的可能性。
摘要由CSDN通过智能技术生成

1.Downloading and Installing Unity

下载和安装unity

You can download and install the Unity Editor from the Unity Website; unity3d.com/download.

你可以在这个网站 unity3d.com/download.下载和安装unity编辑器

The installer uses a Download Assistant and has detailed instructions to follow. (If you want to download the 

Unity editor using a torrent or install several versions of Unity at once, you can find out about this via Torrent

 Download below.)

这个安装包使用了附带详细说明的下载助手,(如果你想通过种子文件下载,或者一次下载多个版本的unity,具体内容你可以通过下载助手了解

Unity Download Assistant

Unity下载助手

From Unity version 5.0 onwards, the Unity Download Assistant, a small executable program (approximately 

1 MB in size),

 lets you select which components of the Unity editor you want to download and install. If you are not sure which

 components you want to install, leave the default selections and click on Continue, following the installer’s 

instructions.

unity5.0之前,unity下载助手一个小巧的可执行程序(大约只有1m的大小),能够让你选择你想要下载安装的unity编辑器组件。如果你不确定自己要下载什么组件,那就选择默认选项然后点击继续,遵从安装程序的命令。


Unity Download Assistant - Leave the default selections if you’re not sure which to choose

Note that on PC there is Microsoft Visual Studio Community 2015.

Installing Unity without the Download Assistant

不通过下载助手安装unity

If you prefer, you can download and install all the components separately, without using the Download

 Assistant.The components are normal installer executable programs and packages, so you may find

 it simpler, especially if you are a new Unity user, to use the Download Assistant. Some users, such as

 those wishing to automate deployment of Unity in an organization, may prefer to install from the command line.

如果你更喜欢不使用下载助手,你也可以分别下载安装unity的所有组件。所有的组件都是普通的可执行安装程序或者是安装包。因此你可能觉得这种方式更简单。当你是unity新手时,还是使用下载助手吧。一些用户比如那些有组织的希望自己部署unity程序的,就更倾向于通过命令行来独立安装。

Installing Unity on Windows from command line

Windows上通过命令行来安装unity

The following options can be used when installing the Unity Editor and other components from command 

line on Windows. 

Note that installer command line arguments are case-sensitive.

接下来的这些选项可以在使用命令行安装unity编辑器和其他组件时使用。值得注意的是安装命令行的参数是大小写敏感的

Unity Editor install

 

 

/S

Performs a silent (no questions asked) install.

/D=PATH

Sets the default install directory. Useful when combined with the silent install option. Default folder is C:\Program Files (x86)\Unity\ (32-bit) or C:\Program Files\Unity\ (64-bit)

Example:

UnitySetup64.exe /S /D=E:\Development\Unity

Install Unity silently to the folder E:\Development\Unity, which will be the root of the Unity installation. The Unity editor 

executable will in this case be installed in E:\Development\Unity\Editor\Unity.exe. “/D” argument must be last and 

without quotes, even if path contains spaces.

静默安装unity到文件夹E:\Development\Unity,这个文件夹将会变成unity安装的根文件夹。在这种情况下unity编辑器将会安装在E:\Development\Unity\Editor\Unity.exe./D”参数必须放在最后并且没有引号,即使路径包含空格也没事。

Unity Editor uninstall

Unity编辑器的卸载

Silent uninstall can be performed using the following steps:

静默卸载可以通过下面这几个步骤进行

1.Run Uninstall.exe /S e.g. from command line or a script

Note, although the process will finish right away, it takes a few seconds before the files actually have been

 removed. The reason for this is that the uninstaller is copied to a temporary location, in order to be able to 

remove itself. Also make sure the working directory is not inside the Unity install location, as it won’t be able 

to remove the folder in that case.

通过命令行或者脚本运行Uninstall.exe /S e.g. 这条语句。

注意,尽管卸载进程会立刻结束,但是在文件全部删除前还是要花费一定的时间的。原因是卸载程序为了删除掉自身,会把自己复制到一块临时的区域,同时也是为了保证工作目录不存在与unity的安装路径下,如果存在的他将不会删除这个工作文件夹。

Standard Assets install

标准资源的安装

Silently install Standard Assets. If specifying folder, use the Unity “root” folder, i.e. the folder containing 

Editor folder and not where Unity.exe is installed into.

静默安装unity标准资源,如果要指定一个文件夹的话,那就使用unity的“root”文件夹,这个文件夹里没有unity.exe而且还包含Editor文件夹.命令行语句如下:

UnityStandardAssetsSetup.exe /S /D=E:\Development\Unity

Example Project install

实例项目的安装

Silently install Example Project. Default folder is C:\Users\Public\Documentation\Unity Projects\Standard 

Assets Example Project

UnityExampleProjectSetup.exe /S /D=E:\Development\Unity

静默安装实例项目,默认文件夹是C:\Users\Public\Documentation\Unity Projects\Standard Assets Example Project 命令语句如下:

UnityExampleProjectSetup.exe /S /D=E:\Development\Unity

 

 

Installing Unity on OS X from command line

在苹果系统下通过命令行安装unity

The individual Unity installers are provided as .pkg files, which can be installed using installer as described

 below.

个人的unity安装提供了.pkg文件.这个文件能使用如下描述的安装器安装。

Unity Editor install

Unity编辑器安装

Installs into folder /Applications/Unity on the specified target volume:

sudo installer [-dumplog] -package Unity.pkg -target /

Standard Assets install

标准资源安装

Installs into folder /Applications/Unity/Standard Assets on the specified volume:

sudo installer [-dumplog] -package StandardAssets.pkg -target /

Example Project install

实例项目安装

Install into folder /Users/Shared/Unity/Standard-Assets on the specified volume:

sudo installer [-dumplog] -package Examples.pkg -target /

Torrent Download

种子文件下载

If you’d prefer to download Unity via a BitTorrent client, you can download get a Torrent link from our download archive page

Not all versions have a torrent download. If a version is available to download as a torrent, the option will be present in

 the “downloads” dropdown menu.

如果你更喜欢通过种子文件端下载unity的话,你可以从我们的网站download archive page.获得种子链接。并非所有的版本都有种子文件。如果一个版本可以通过种子文件方式下载。那么这个选项会出现在下载的下拉菜单上。

Downloading Unity via a Torrent

 

Installing Several Versions at Once

一次安装数个版本

You can install as many versions of Unity as you like on the same computer. The installer on a Mac will always create a

 folder called “Unity” and will overwrite any existing folder with this name. However, if you rename the folder to something else before 

installing then both versions can happily live on the same computer. On a PC the install folder is always named “Unity X.Y.Z[fp]W”, where 

the ‘f’ is for an official release, and ‘p’ is used to mark a patch release.

只要你乐意,你可以安装任意多版本的unity在同一台电脑上。在Mac上安装程序总是会创建名为“Unity”的文件夹,并且会重写已经存在的同名文件夹。然而你只需要在安装前重命名就可以解决这个问题,让多个版本开心的同居在你的电脑上。在pc上安装文件夹总是命名为“Unity X.Y.Z[fp]W”,‘f ’ 代表的是官方的发行号, ‘p’是补丁的发行号.

We strongly recommend that you choose the new folder name carefully (eg, add the version number to the end of the name, “Unity4”, etc). 

Also, be aware that any existing shortcuts, aliases and links to the offline docs will no longer point to the old version of Unity. This can be particularly 

confusing with the offline docs; if you suddenly find that browser bookmarks to the offline docs no longer work then check that they have the right folder 

name in the URL.

我们强烈推荐你选择新文件夹并且慎重命名(比如说,添加版本号到名字的末尾“Unity4”等等)当然

弄清楚所有指向离线文档的快捷方式,别名和链接将不再指向旧版本的unity。这一点将会在使用离线文档时特别困扰。如果你突然发现指向离线文档的浏览器书签不工作时,请检查他们在URL中有正确的文件夹名称。

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值