---
title: XR
product: Unity Editor
version: '6000.0'
latest_version: '7000.0'
status: This page documents version 6000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/zh-cn/engine/6000.0/manual/xr
latest_url: https://docs.unity.com/zh-cn/engine/7000.0/manual/xr.md
last_updated: 2026-10-03
generated_at: 2026-11-17T08:37:15.211Z
locale: zh-cn
---

# XR

> 与在 Unity 中创建 XR 应用程序相关的资源和工作流程。

XR 是一个总括术语，包括以下类型的 Applications：

* 虚拟现实 (VR)：该应用程序模拟用户周围的独立 Environment。
* 混合现实 (MR)：应用程序将其自身 Environment 与用户的真实世界 Environment 相结合，并允许它们相互交互 Other。
* 增强现实 (AR)：应用程序在现实世界的 View 上对内容进行图层。

虚拟增强现实之间的跨度是一个连续体，混合现实位于中间某个位置，具体取决ON特定设备的功能和应用程序程序的Intent。


**Sample XR scene view:**
![](/api/media?file=/engine/6000.0/media/images/xr-hero-img.png)

本文档讨论如何在 Unity 中开发 XR 应用程序：

| 主题                                                                                         | 描述                                               |
| ------------------------------------------------------------------------------------------ | ------------------------------------------------ |
| [概览](/engine/6000.0/manual/xr/support.md)                                                  | Unity 如何支持 XR Development 的 Overview。            |
| [设置 XR Project](/engine/6000.0/manual/xr/configuring-project-for.md)                       | 如何为 XR 游戏或应用程序设置 Project。                        |
| [设置 XR Scene](/engine/6000.0/manual/xr/configuring-project-for/scene-setup/scene-setup.md) | 如何添加 XR Scene 所需的游戏对象和组件。                        |
| [运行 XR 应用程序](/engine/6000.0/manual/xr/run.md)                                              | 如何在Development期间Build and Run Unity XR Projects。 |
| [XR 图形](/engine/6000.0/manual/xr/graphics.md)                                              | XR 指定的图形主题。                                      |
| [XR音频](/engine/6000.0/manual/xr/audio.md)                                                  | 了解 XR Projects 的音频。                              |

## 其他资源和示例##additional-resources-and-examples

* **样本 Project**： [XR Interaction Toolkit 样本](https://github.com/Unity-Technologies/XR-Interaction-Toolkit-Examples)
* **样本 Project**： [AR Foundation样本](https://github.com/Unity-Technologies/arfoundation-samples)
* XR 和空间计算💡 **资源**：[生成](https://unity.com/solutions/xr)
* 💡 **资源**： [Unity Learn XR 资源](https://learn.unity.com/search/?k=%5B%22uv%3A605445567fbf7d005383f7ff%22%2C%22q%3AXR%22%5D)
* 👥 **社区**： [加入关于 XR Unity Discusss 的对话](https://discussions.unity.com/lists/xr)
* 💡 **资源**： [Unity 博客 XR 文章](https://unity.com/blog?filter=xr\&page=1)
* 💡 **资源**： [XR 术语](https://unity.com/how-to/xr-glossary)
* 🖖 **电子书**： 在 Unity 中[创建虚拟和混合现实体验](https://unity.com/resources/create-virtual-mixed-reality-experiences-unity?isGated=false)
* ��� **视频**：Video 使用 Unity 的 XR Interaction Toolkit 在 VR 中构建[世界](https://youtu.be/DhqCLamOIQk)
* ��� **视频**：Video [优化 Unity 6 中的 Web、XR 和移动端游戏](https://youtu.be/2J0kDtUGlrY)
* 🖖 **电子书**： 针对 Unity 中的移动端、XR 和 Web [优化游戏性能](https://unity.com/resources/mobile-xr-web-game-performance-optimization-unity-6)
* 🖖 **电子书**： 为 Unity 中的游戏主机和 PC [优化游戏性能](https://unity.com/resources/console-pc-game-performance-optimization-unity-6)
