# 导入SDK

可先下载SDK：[AirSDK+XR+Unity+v1.0.3.zip](https://file-down.test.leiniao.com/03/008765713965800010022373251.zip)

Air SDK 是核心 XR 功能，组件，插件的集合，可简化和增强 Unity 中雷鸟 Air 应用程序的开发过程。它打包了几个重要的 SDK，为您的应用提供立体渲染，头控，手机屏幕控制器等开发支持。

#### **下载并导入 SDK**

以下是新版本的 sdk

| 名称                                                                                                                     | Md5                              | 描述            |
| ---------------------------------------------------------------------------------------------------------------------- | -------------------------------- | ------------- |
| [AirSDK+XR+Unity+v1.0.3.zip](https://file-down.test.leiniao.com/03/008765713965800010022373251.zip)                    | 0ae0fb9de5dffae6cb0344535e20c454 | sdk           |
| [Ffalcon XR Unity Sample v1.0.3.apk](https://file-down.api.leiniao.com/45/006292443866600010043424715.0.3.apk)         | 835d4da994164172729dd6fb1c9794c1 | 示例 apk        |
| [Ffalcon XR Unity Sample Project v1.0.3.zip](https://file-down.api.leiniao.com/46/006292445255000010043424916.0.3.zip) | 947cae0e4630ea5a0ecd086dc7747744 | 示例 Unity 工程   |
| [Cardboard XR Plugin v1.0.3.zip](https://file-down.api.leiniao.com/54/006292446263300010043424250.0.3.zip)             | fddf7e51544a4e43201f90c499fef428 | Cardboard SDK |

<br>

1\.  解压 Cardboard XR Plugin v1.0.2.zip 和 Air SDK v1.0.2.zip

2\.  点击菜单栏 Window>Package Manager,点击左上角+号选择 Add package from disk...，分别选择上述两个压缩包中的 package.json 文件，将工程导入

![](https://testopen.rayneo.cn/media/d674e060-cc6b-4eea-a6e6-86536cc84fb6.png)

![](https://testopen.rayneo.cn/media/35aac67e-17be-4a0e-bf98-5b712b964795.png)

3\.  导入成功后，你将看到 XR SDK Setting 窗口，单击 Accept All 等待片刻，将配置统一更改。

![](https://testopen.rayneo.cn/media/53d76dd6-23b2-4783-8dc9-812c9f9404d1.png)

4\.  当导入后，会提示更改 New Input System ，根据自身情况可选择 yes or no， 在本文档中，选择 no，并进入 Project Settings 将 Active Input Handing 改成 Both

![](https://testopen.rayneo.cn/media/16dab70a-21af-43df-9972-eeba8ddb3cc6.png)

![](https://testopen.rayneo.cn/media/fb077d01-1c8e-43ea-8caf-4663545f1f7a.png)

5\.  开启 XR Plugin-in 支持，进入 Project Settings->XR Plugin-in Management，勾选 Cardboard XR Plugin

![](https://testopen.rayneo.cn/media/4e8b44ab-d259-48de-9beb-6fc298127191.png)

6\.  可进入 Package Manager，找到雷鸟 sdk 的 Sample 导入

![](https://testopen.rayneo.cn/media/2c5df75c-53d3-4cea-a12d-30fec2f74bb2.png)

7\.  将所有示例场景添加进 Build Settings

![](https://testopen.rayneo.cn/media/43566492-52ec-4843-99d5-89d1f4f648ef.png)

8\.  需要配置设置,在这里为了方便，可将 Ffalcon XR Unity Sample Project vx.x.x 中的 Plugins 复制到本工程内。打包即可。进入游戏界面后，长按 home 可回正视角

![](https://testopen.rayneo.cn/media/439bac15-66ef-40e4-ab18-e8bdc7e2f56a.png)


---

# 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://rayneo.gitbook.io/rayneo-devdoc/air-xi-lie/unity-kai-fa/kuai-su-kai-shi/dao-ru-sdk.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.
