Unity’s XR packages build on the XR plug-in framework to add additional application-level features and developer tools.
The XR packages include:
| Package | 描述 | Package documentation |
|---|---|---|
| XR Plug-in Management system | Adds Project Settings for managing the platforms and plug-ins used by a Unity project. See Project setup for information about managing XR plug-ins. | XR Plug-in Management system |
| AR Foundation | Provides cross-platform AR features, such as plane detection, meshing, and object tracking. Required for developing AR applications. | AR Foundation |
| XR Interaction Toolkit | Provides interaction components for adding controller-based interaction and manipulation, UI interaction, and movement. Supports VR, MR, and AR. | XR Interaction Toolkit |
| Unity Mars | Provides components and tools for adapting AR content to the user’s surroundings. For example, it supplies a standard way of querying the environment to find suitable locations for adding your digital content to the scene. Requires a license that includes Unity Mars. See Unity Mars for information about license requirements. | MARS |
| XR Core Utilities | Contains software utilities used by other XR plug-ins and packages. Typically installed as a dependency. | XR Core Utilities |
| XR Legacy Input Helpers | Contains software utilities related to XR input. This package is being phased out, but is still installed as a dependency by some XR packages. | XR Legacy Input Helpers. |
Note: XR plug-ins are also implemented as packages. See XR plug-ins for a list of supported XR plug-ins.