Version: 2020.2
Getting started with AR development in Unity
XR Plug-in Framework

Getting started with VR development in Unity

To get started with VR development, Unity recommends using XR Management to load and manage your target platform SDKs. For instructions on how to configure your Project using the XR Plug-in Management system, see the Configuring your unity Project for XR page.

Unity supported platforms

Oculus

  • If you’re developing for Oculus Quest, you need to install and load the Oculus XRAn umbrella term encompassing Virtual Reality (VR), Augmented Reality (AR) and Mixed Reality (MR) applications. Devices supporting these forms of interactive applications can be referred to as XR devices. More info
    See in Glossary
    Plug-inA set of code created outside of Unity that creates functionality in Unity. There are two kinds of plug-ins you can use in Unity: Managed plug-ins (managed .NET assemblies created with tools like Visual Studio) and Native plug-ins (platform-specific native code libraries). More info
    See in Glossary
    for the Android build target.
  • If you’re developing for Oculus Rift and Rift S, you need to install and load the Oculus XR Plug-in for the Windows build target.
  • For more information, see Oculus developer documentation.

Windows Mixed Reality

  • If you’re developing for a Windows MR VR headset, you need to install and load the Windows XR Plug-in for the Universal Windows PlatformAn IAP feature that supports Microsoft’s In App Purchase simulator, which allows you to test IAP purchase flows on devices before publishing your application. More info
    See in Glossary
    , and use Microsoft’s Mixed Reality Toolkit (MRTK 2.3) to add mixed reality input and interactions.
  • For more information, see Microsoft’s Windows Mixed Reality documentation.

Third-party supported platforms

Google VR

Please refer to Google’s VR SDK Quickstart guide for the latest on Google Daydream and Cardboard. For more information about the Google Cardboard Unity XR Plug-in, see Quickstart for Google Cardboard for Unity.

OpenVR

Valve has released their OpenVR Unity XR Plug-in (beta). See the OpenVR Unity XR GitHub repository for documentation and installation instructions.

Input and interactions

Unity’s XR Interaction Toolkit enables you to add interactivity to your VR applications, without having to code the interactions from scratch. It works with Unity supported XR plug-ins and is available as a Preview packageA preview package is in development and not yet ready for production. A package in preview might be at any stage of development, from the initial stages to near completion.
See in Glossary
for Unity 2019.3 via the Package Manager.

Getting started with AR development in Unity
XR Plug-in Framework
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961