# Unity安装

## 说明

确保安装了正确版本的 Unity Editor（Long Term Support Version 2021.3，例如 LTS Realease 2021.3.4f1）及 Visual Studio（用于编译插件包），使用 Unity Hub 可集成安装。本工具基于 Unity 2021.3.4f1 LTS 版本进行开发，并向上兼容Unity版本（非2021 LTS版本下，示例场景可能会有脚本丢失的情况，需要重新绑定）。

如从Unity.cn下载，可下载对应版本的中国区版本。例如Unity 2021.3.4f1版本对应于Unity.cn 2021.3.4f1c1版本。

## 安装流程

在Unity.cn网站中找到Unity下载页面，2021版本下载[地址](https://unity.cn/releases/full/2021),点击右上角登录Unity.cn。

![unity download Page](/files/7raOJ6wUGZnFzsYdsKjM)

> 当登录完成后，会跳转到Unity.cn主页，可再次通过[地址](https://unity.cn/releases/full/2021)导航到Unity 2021版本下载页面。

推荐使用UnityHub进行Editor安装。Unityhub可以帮助开发者很好管理

### 下载Unityhub

> 如果已经安装过Unity Hub可以直接跳转到Unity Editor的安装。

点击右上角的**下载Unity Hub**按钮

![unity hub download](/files/6VHLE04ZWCXAlitgfj61)

在弹窗中选择对应的 **Unity hub** 安装包版本

![unity hub platform](/files/7raOJ6wUGZnFzsYdsKjM)

下载安装完成后，打开Unity Hub。进入Unity Editor安装流程。

### 安装下载Unity Editor

*Unity Editor*可以通过UnityHub软件界面安装。 在Unity Hub界面中点击右上角的**Install Editor**按钮，在弹出的窗口中，选择需要下载的版本。

![](/files/rZthdRenSKmAEZYkxt8a)

版本弹窗中有三个标签页

![](/files/2056F0XQ7bXl7vL3t8EL)

* Official release
  * 当前最近更新的LTS版本
* Pre-releases
  * 预发布的版本（会增加新的功能，但是也会带来部分bug）
* Archive
  * 自定义选择

UMT支持2021.3.4以上的版本，因此可以下载2021.3.6f1版本，也可以通过**Archive**标签页选择3.4f1版本。点击[download archive](https://unity.cn/releases/full/2021)文字。在弹出的浏览器窗口中，选择Unity 2021.3.4f1版本的Unity。

![](/files/DrSAInwEOzU7p3mB3qt3)

在网页中选择2021.3.4版本，点击右侧的**从Hub下载**按钮，在弹出的弹窗中选择打开Hub。

![](/files/Vck9LLgSg59aZelQ7GHI)

点击完成后，Unityhub中会弹出需要的配置选项，选择完成后，点击下载。UnityHub自动开始下载对应Unity版本。

![](/files/fmqdHadoohw8vKMHMFLn)

下载安装完成后，可以在**Unity Hub**的界面。安装完成。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://utc.gitbook.io/umt-manual-book/install/softwares/unityinstall.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
