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 的示例。
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.