VR4Medical/ICI/Library/PackageCache/com.unity.xr.core-utils@5b282bc7378d/Documentation~/index.md
2025-07-29 13:45:50 +03:00

3.1 KiB

uid
xr-core-utils-manual

About XR Core Utilities

The XR Core Utilities package contains a variety of classes and extension methods which are commonly used and shared between multiple XR packages. Some particularly useful utilities include:

Refer to the Script Reference for a complete list of utility classes.

Install XR Core Utilities

The XR Core Utilities package is automatically installed when you add other packages to your project that depend on it, such as AR Foundation or the XR Interaction Toolkit.

To install this package separately:

  1. Open the project that you plan to use.

  2. Click the following link: com.unity.xr.core-utils.

    The Unity Package Manager window opens with the package name entered in the Add package by name dialog.

  3. (Optional) Enter the version number to install. If left blank, Unity chooses the "best" version -- typically the latest, release version for the current Unity Editor.

  4. Click Add.

Note

Computer configuration issues can prevent package links from opening directly in the Unity Editor. If this happens, follow the instructions in Adding a registry package by name, using the package name: com.unity.xr.core-utils.

For an overview of installing and managing packages in Unity, see The Package Manager tutorial.

For a detailed description of how to use the Package Manager, see the Package Manager in the Unity Manual.

Use XR Core Utilities

This contains entirely C# code. Refer to the API documentation for details.

Technical details

Requirements

This version of the XR Core Utilities package is compatible with the following versions of the Unity Editor:

  • 2021.3 or newer