XR 是一个统称,包括以下类型的应用程序:
Unity works directly with strategic partners on implementation, testing, and customer support for their platforms.
As of 2019.3, Unity officially supports these platforms:
The AR overview page details how to get started with creating an AR experience, the relevant packages you need to download, and offers related links to additional documentation. We recommend downloading the AR Foundation, XR Management, and XR Interaction Toolkit packages to create your app once and deploy it across ARKit, ARCore, Magic Leap, and/or HoloLens 1 & 2 devices.
The VR overview page details how to get started creating a VR experience, the relevant packages you need to download, and offers related links to additional documentation. To start, we recommend downloading the XR Management and XR Interaction Toolkit packages.
Unity 2019.3 and newer versions use a new plug-in architecture to integrate our supported AR/VR platforms, available as packages in the Unity Package Manager. To learn more about the plug-in architecture, see the XR plug-in architecture page.
Unity 的大多数 XR 功能都可在包中找到,这些包可通过 Package Manager(从 Unity 的主菜单中选择 Window > Package Manager)进行安装。Package Manager 窗口显示有关每个包的详细信息。
注意:要查看预览包,请单击 Package Manager 窗口中的 Advanced 下拉菜单,然后选择 Show Preview Packages。
有关要下载的包的完整列表,请参阅 AR 概述和 VR 概述页面。
此 AR Foundation Samples GitHub 代码仓库包含有关如何使用 Unity AR Foundation API 的示例。